-
Notifications
You must be signed in to change notification settings - Fork 158
Implement ppl IN
subquery command with Calcite
#3371
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
Implement ppl IN
subquery command with Calcite
#3371
Conversation
Signed-off-by: Lantao Jin <[email protected]>
IN
subquery command with Calcite
source = %s | fields uid, name | ||
] | ||
| sort - salary | ||
| fields id, name, salary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- what if subquery include less columns
source = %s | where (id, name) not in [source = %s | fields name]
- or more columns,
source = %s | where (id, name) not in [source = %s | fields id, name, salary]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check L314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added more tests and convert the AssertError to SemanticCheckException @penghuo
Signed-off-by: Lantao Jin <[email protected]>
a62d87d
into
opensearch-project:feature/calcite-engine
Signed-off-by: xinyual <[email protected]>
Description
Core Syntax: Implement ppl
IN
subquery command with Calcite./gradlew :integ-test:integTest --tests '*Calcite*IT'
succeed in localExcepts
Those IT failed due to enable pushdown after merged #3366
Related Issues
Resolves #3359
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.