Skip to content

Address comments in pr:5138 - #5179

Merged
qianheng-aws merged 17 commits into
feature/graphlookupfrom
poc/graphlookup
Feb 24, 2026
Merged

qianheng-aws merged 17 commits into
feature/graphlookupfrom
poc/graphlookup

Conversation

@qianheng-aws

Copy link
Copy Markdown
Collaborator

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

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.

qianheng-aws and others added 17 commits February 11, 2026 13:42
Signed-off-by: Heng Qian <[email protected]>
Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
* Fix fallback error handling to show original Calcite error

When Calcite falls back to V2 and V2 also fails, now correctly returns the
original Calcite error instead of V2's generic "only supported when calcite
enabled" message, improving error clarity for users. Fixes #5060.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>

* coderabbit: preserve exception types

Signed-off-by: Simeon Widdis <[email protected]>

* Refactoring for coderabbit: consistent handling of calcite and legacy calcite errors

Signed-off-by: Simeon Widdis <[email protected]>

* Update explain error handling to match non-explain

Signed-off-by: Simeon Widdis <[email protected]>

* Minor tweaks: commenting & eval order

Signed-off-by: Simeon Widdis <[email protected]>

* Add a yaml test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
Co-authored-by: Claude <[email protected]>
* Add auto extraction mode in spath command

Signed-off-by: Chen Dai <[email protected]>

* Change json_extract_all to return map<string,string> and fix null perserve issue

Signed-off-by: Chen Dai <[email protected]>

* Refactor all unit test and integration tests

Signed-off-by: Chen Dai <[email protected]>

* Refactor json_extract_all and fix stringify issue

Signed-off-by: Chen Dai <[email protected]>

* Fix broken IT and doctest

Signed-off-by: Chen Dai <[email protected]>

* Address PR comments

Signed-off-by: Chen Dai <[email protected]>

* Mark auto extract mode as experimental

Signed-off-by: Chen Dai <[email protected]>

---------

Signed-off-by: Chen Dai <[email protected]>
* Add nomv command + parser/AST/calcite wiring + tests + docs

Signed-off-by: Srikanth Padakanti <[email protected]>

# Conflicts:
#	core/src/main/java/org/opensearch/sql/ast/analysis/FieldResolutionVisitor.java
#	integ-test/src/test/java/org/opensearch/sql/security/CalciteCrossClusterSearchIT.java
#	ppl/src/main/antlr/OpenSearchPPLParser.g4
#	ppl/src/test/java/org/opensearch/sql/ppl/parser/FieldResolutionVisitorTest.java

* Address coderrabbit suggestions.

Signed-off-by: Srikanth Padakanti <[email protected]>

* Correct the no_push_down yaml expected result

Signed-off-by: Srikanth Padakanti <[email protected]>

* Fix Windows CI: Override verifyPPLToSparkSQL to preserve ARRAY_JOIN '\n' delimiter

Signed-off-by: Srikanth Padakanti <[email protected]>

* Fix Windows CI: Override verifyPPLToSparkSQL to preserve ARRAY_JOIN '\n' delimiter

Signed-off-by: Srikanth Padakanti <[email protected]>

* Fix Windows CI: Override verifyPPLToSparkSQL to preserve ARRAY_JOIN '\n' delimiter

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address code review comments

Signed-off-by: Srikanth Padakanti <[email protected]>

---------

Signed-off-by: Srikanth Padakanti <[email protected]>
Co-authored-by: Srikanth Padakanti <[email protected]>
…5135)

* Fix bug 5114

Signed-off-by: Peng Huo <[email protected]>

* Update

Signed-off-by: Peng Huo <[email protected]>

* Address comments

Signed-off-by: Peng Huo <[email protected]>

* Fix spotless import ordering for EnumerableLimitSort

Signed-off-by: Peng Huo <[email protected]>

---------

Signed-off-by: Peng Huo <[email protected]>
* Fix path navigation bug in qualified name resolver and add spath tests

Signed-off-by: Chen Dai <[email protected]>

* Add spath UT and IT with other commands

Signed-off-by: Chen Dai <[email protected]>

* Move aliasing logic from resolver to project item expansion

Signed-off-by: Chen Dai <[email protected]>

* Update javadoc and readme

Signed-off-by: Chen Dai <[email protected]>

---------

Signed-off-by: Chen Dai <[email protected]>
…-3) (#5155)

* Make sql plugin aware of FIPS build param (-Pcrypto.standard=FIPS-140-3)

Signed-off-by: Craig Perkins <[email protected]>

* Update build script to include FIPS-140-3 option

Added FIPS-140-3 standard option to Gradle commands.

Signed-off-by: Peter Zhu <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
…ly (#5158)

* [maintenance] Fix bc-fips jar hell by marking dependency as compileOnly

Signed-off-by: Jialiang Liang <[email protected]>

* add fix for tests

Signed-off-by: Jialiang Liang <[email protected]>

---------

Signed-off-by: Jialiang Liang <[email protected]>
* MvExpand new PR - After resolving the merge issues

Signed-off-by: Srikanth Padakanti <[email protected]>

# Conflicts:
#	core/src/main/java/org/opensearch/sql/analysis/Analyzer.java
#	core/src/main/java/org/opensearch/sql/ast/AbstractNodeVisitor.java
#	core/src/main/java/org/opensearch/sql/calcite/CalciteRelNodeVisitor.java
#	docs/category.json
#	docs/user/ppl/index.md
#	integ-test/src/test/java/org/opensearch/sql/calcite/CalciteNoPushdownIT.java
#	integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java
#	integ-test/src/test/java/org/opensearch/sql/ppl/NewAddedCommandsIT.java
#	integ-test/src/test/java/org/opensearch/sql/security/CalciteCrossClusterSearchIT.java
#	ppl/src/main/antlr/OpenSearchPPLParser.g4
#	ppl/src/main/java/org/opensearch/sql/ppl/parser/AstBuilder.java
#	ppl/src/main/java/org/opensearch/sql/ppl/utils/PPLQueryDataAnonymizer.java
#	ppl/src/test/java/org/opensearch/sql/ppl/utils/PPLQueryDataAnonymizerTest.java

* Address coderrabbit comments

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address coderrabbit comments

Signed-off-by: Srikanth Padakanti <[email protected]>

* merge main to my branch

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address corerabbit suggestions

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address corerabbit suggestions

Signed-off-by: Srikanth Padakanti <[email protected]>

* ci: trigger

Signed-off-by: Srikanth Padakanti <[email protected]>

* ci: trigger

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address corerabbit suggestions

Signed-off-by: Srikanth Padakanti <[email protected]>

* ci: trigger

Signed-off-by: Srikanth Padakanti <[email protected]>

* Address comments.

Signed-off-by: Srikanth Padakanti <[email protected]>

* Change the exception from illegalarg to SyntaxCheckException

Signed-off-by: Srikanth Padakanti <[email protected]>

* change the exception message for consistency

Signed-off-by: Srikanth Padakanti <[email protected]>

* ci: rerun

Signed-off-by: Srikanth Padakanti <[email protected]>

---------

Signed-off-by: Srikanth Padakanti <[email protected]>
Co-authored-by: Srikanth Padakanti <[email protected]>
Signed-off-by: Heng Qian <[email protected]>
…aphlookup

# Conflicts:
#	docs/user/ppl/index.md
#	opensearch/src/main/java/org/opensearch/sql/opensearch/storage/scan/CalciteEnumerableGraphLookup.java
…hlookup

# Conflicts:
#	core/src/main/java/org/opensearch/sql/analysis/Analyzer.java
#	core/src/main/java/org/opensearch/sql/ast/AbstractNodeVisitor.java
#	docs/user/ppl/index.md
#	ppl/src/main/antlr/OpenSearchPPLParser.g4
@coderabbitai

coderabbitai Bot commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch poc/graphlookup

Comment @coderabbitai help to get the list of available commands and usage tips.

@qianheng-aws qianheng-aws changed the title Address comments in https://github.com/opensearch-project/sql/pull/5138 Address comments in pr:5138 Feb 24, 2026
@qianheng-aws
qianheng-aws merged commit ef94e4f into feature/graphlookup Feb 24, 2026
62 of 65 checks passed
qianheng-aws added a commit that referenced this pull request Feb 24, 2026
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 this pull request may close these issues.

8 participants