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

PQLite: investigate query language #38

Closed
numb3r3 opened this issue Dec 1, 2021 · 1 comment · Fixed by #45
Closed

PQLite: investigate query language #38

numb3r3 opened this issue Dec 1, 2021 · 1 comment · Fixed by #45

Comments

@numb3r3
Copy link
Member

numb3r3 commented Dec 1, 2021

Now, the filtering conditions only support AND combination.

The goal is to convert the following condition into SQL WHERE Clause (support both of AND and OR)

The input DSL

{"and": [
    {"eq": ("foo", 3)},
    {"gt": ("bar", 4)},
   ]
}

The resulting SQL WHERE Clause:

WHERE foo = 3 AND bar > 4
@numb3r3 numb3r3 added enhancement New feature or request and removed enhancement New feature or request labels Dec 1, 2021
@numb3r3 numb3r3 changed the title PQLite: filter DSL parser PQLite: investigate query language Dec 3, 2021
@numb3r3
Copy link
Member Author

numb3r3 commented Dec 3, 2021

The slack discussion thread https://jinaai.slack.com/archives/C02AC4T8Y5T/p1638538701411900

@numb3r3 numb3r3 linked a pull request Dec 8, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant