Repository navigation
[Backport 2.19-dev] Push down filters on nested fields as nested queries - #5051
Merged
Merged
Conversation
* lewSupport basic nested queries when applying filter on a nested filed Signed-off-by: Yuanchun Shen <[email protected]> # Conflicts: # integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java # opensearch/src/main/java/org/opensearch/sql/opensearch/storage/scan/CalciteLogicalIndexScan.java * Test filter on both nested and root level fields Signed-off-by: Yuanchun Shen <[email protected]> * Support nested queries for simple queries: range, term, terms, etc Signed-off-by: Yuanchun Shen <[email protected]> * Add integration tests for filtering on nested Signed-off-by: Yuanchun Shen <[email protected]> * Add a error case for accessing different levels of nested objects in scripts Signed-off-by: Yuanchun Shen <[email protected]> * Add a test for accessing nested filter in filter in aggregation Signed-off-by: Yuanchun Shen <[email protected]> * Chores: remove unnecessary comments Signed-off-by: Yuanchun Shen <[email protected]> * Update plans Signed-off-by: Yuanchun Shen <[email protected]> * Remove unused plans Signed-off-by: Yuanchun Shen <[email protected]> * Use null instead of empty string as a default to nest path attribute Signed-off-by: Yuanchun Shen <[email protected]> --------- Signed-off-by: Yuanchun Shen <[email protected]> (cherry picked from commit ff82c67) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot
Bot
requested review from
GumpacG,
LantaoJin,
MaxKsyunz,
Swiddis,
YANG-DB,
Yury-Fridlyand,
acarbonetto,
anirudha,
dai-chen,
derek-ho,
forestmvey,
joshuali925,
kavithacm,
mengweieric,
noCharger,
penghuo,
ps48,
qianheng-aws,
seankao-az and
ykmr1224
as code owners
January 15, 2026 06:27
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
Signed-off-by: Yuanchun Shen <[email protected]>
yuancu
enabled auto-merge (squash)
January 15, 2026 08:39
yuancu
approved these changes
Jan 15, 2026
qianheng-aws
approved these changes
Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport ff82c67 from #4825.