[PRE-RELEASE-0.4] [BUG] The query parser is not compatible with the `.` symbol.
jieguangzhou opened this issue · comments
JieguangZhou commented
Contact Details [Optional]
No response
System Information
main
What happened?
The parameter was split during decoding using the “.” symbol.
Steps to reproduce
query = {'query': 'data_view.predict(condition={"uri": "123.PDF"})',
'_variables': {'condition': '<value-0>'},
'documents': [],
'_builds': {},
'_files': {},
'_path': 'superduper.backends.base.query.parse_query'}
from superduper import Document
Document.decode(query).parts
>> ['predict(condition={"uri": "123', 'PDF"})']
Relevant log output
No response