Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRE-RELEASE-0.4] [BUG] The query parser is not compatible with the . symbol. #2417

Closed
Tracked by #2413
jieguangzhou opened this issue Aug 26, 2024 · 0 comments · Fixed by #2465
Closed
Tracked by #2413

[PRE-RELEASE-0.4] [BUG] The query parser is not compatible with the . symbol. #2417

jieguangzhou opened this issue Aug 26, 2024 · 0 comments · Fixed by #2465
Assignees
Labels
🐛 bug Something isn't working

Comments

@jieguangzhou
Copy link
Collaborator

jieguangzhou commented Aug 26, 2024

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

@jieguangzhou jieguangzhou added the 🐛 bug Something isn't working label Aug 26, 2024
@jieguangzhou jieguangzhou changed the title [BUG]: The query parser is not compatible with the . symbol. [PRE-RELEASE-0.4] [BUG]: The query parser is not compatible with the . symbol. Sep 11, 2024
@jieguangzhou jieguangzhou changed the title [PRE-RELEASE-0.4] [BUG]: The query parser is not compatible with the . symbol. [PRE-RELEASE-0.4] [BUG] The query parser is not compatible with the . symbol. Sep 11, 2024
@jieguangzhou jieguangzhou linked a pull request Sep 20, 2024 that will close this issue
5 tasks
@github-project-automation github-project-automation bot moved this from Review to Done in superduper-open-source Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant