Add query filter, project, aggregation, sort converters#21047
Add query filter, project, aggregation, sort converters#21047mch2 merged 5 commits intoopensearch-project:mainfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit c9071d3)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to c9071d3 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 45f3ae9
Suggestions up to commit 1d7ba9d
Suggestions up to commit b59c7a6
Suggestions up to commit c924286
|
|
❌ Gradle check result for c924286: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
c924286 to
b59c7a6
Compare
|
Persistent review updated to latest commit b59c7a6 |
|
❌ Gradle check result for b59c7a6: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
b59c7a6 to
1d7ba9d
Compare
|
Persistent review updated to latest commit 1d7ba9d |
|
❌ Gradle check result for 1d7ba9d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
3f312d6 to
45f3ae9
Compare
|
Persistent review updated to latest commit 45f3ae9 |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 1dfeee0.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
c1a13ef to
1dfeee0
Compare
1dfeee0 to
c9071d3
Compare
|
Persistent review updated to latest commit c9071d3 |
|
❌ Gradle check result for c9071d3: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for c9071d3: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
c9071d3 to
4ed3a3e
Compare
|
❌ Gradle check result for 4ed3a3e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 65a4499: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
65a4499 to
b90cab4
Compare
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
b90cab4 to
580a3ec
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21047 +/- ##
============================================
- Coverage 73.24% 73.21% -0.03%
+ Complexity 72974 72970 -4
============================================
Files 5888 5888
Lines 333169 333169
Branches 48058 48058
============================================
- Hits 244024 243925 -99
- Misses 69656 69731 +75
- Partials 19489 19513 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
expani
left a comment
There was a problem hiding this comment.
Thanks @vinaykpud for the PR.
Dropping some comments on the high level abstractions. Will go through this further.
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
|
❌ Gradle check result for ea72060: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❕ Gradle check result for ea72060: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
|
❌ Gradle check result for a06b2f6: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
a06b2f6 to
3c14c2b
Compare
|
❌ Gradle check result for 3c14c2b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
3c14c2b to
96e8343
Compare
|
It looks like one of the added tests directly contradicts #21203, which was merged around the same time. See https://github.com/opensearch-project/OpenSearch/actions/runs/24427826934/job/71365665229?pr=20635 |
…roject#21047) * Add query filter, project, aggregation, sort converters Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * resolved PR comments from mch2 Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * resolved PR comments from expani Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Description
Adds DSL-to-Calcite converters for the
dsl-query-executorsandbox plugin. Converts OpenSearch SearchSourceBuilder DSL into Calcite RelNode logical plans for execution by the analytics engine.Converters added:
Supporting infrastructure:
- Scan → Filter → Project → Sort (HITS)
- Scan → Filter → Aggregate → PostAggregate (AGGREGATION)
Related Issues
#20914
Check List
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.