-
Couldn't load subscription status.
- Fork 176
Update big5 ppl queries and check plans #4668
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
Update big5 ppl queries and check plans #4668
Conversation
Signed-off-by: Lantao Jin <[email protected]>
|
@noCharger please view this update and we might need to update our benchmark as well. |
Signed-off-by: Lantao Jin <[email protected]>
Signed-off-by: Lantao Jin <[email protected]>
|
for queries defined big5/queries/optimized/, we should updated in opensearch-benchmark repo? |
| protected String loadExpectedQuery(String fileName) throws IOException { | ||
| if (isCalciteEnabled()) { | ||
| try { | ||
| return loadFromFile("big5/queries/optimized/" + fileName); |
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.
why have optimized folder? it required calcite enable?
IMO, PPL big5 query should be optimized queries.
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.
That because 1. bucket_nullable argument, 2. bin command
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.
Backport to 2.19-dev.
Yes. cc @noCharger and @xinyual |
* Update big5 ppl queries Signed-off-by: Lantao Jin <[email protected]> * Add explain check for big5 queries Signed-off-by: Lantao Jin <[email protected]> * update to latest code base Signed-off-by: Lantao Jin <[email protected]> --------- Signed-off-by: Lantao Jin <[email protected]> (cherry picked from commit 0f45382) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Update big5 ppl queries * Add explain check for big5 queries * update to latest code base --------- (cherry picked from commit 0f45382) Signed-off-by: Lantao Jin <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Update big5 ppl queries:
big5/queries/optimized/:CalcitePPLBig5ITfirst loads the ppl file from this folder. If it cannot be found, it loads the ppl file frombig5/queries/.statsin this folder will setbucket_nullable = falseto align with related DSL.auto-date-histogram,rangeandmulti-termsbucket aggregation.head 10OR.Related Issues
Resolves #4667
Check List
--signoffor-s.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.