[FEATURE] Add Union command in PPL #5240
[FEATURE] Add Union command in PPL #5240srikanthpadakanti wants to merge 1 commit intoopensearch-project:mainfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit 9ec4314)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 9ec4314 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 3782336
Suggestions up to commit f05fbdb
Suggestions up to commit 60613ec
Suggestions up to commit 0ff52aa
Suggestions up to commit 12b2eb5
|
7ab57cb to
5fd5e1c
Compare
|
Persistent review updated to latest commit 5fd5e1c |
dcbc60f to
12b2eb5
Compare
|
Persistent review updated to latest commit dcbc60f |
|
Persistent review updated to latest commit 12b2eb5 |
12b2eb5 to
0ff52aa
Compare
|
Persistent review updated to latest commit 0ff52aa |
|
Hello @anasalkouz @mengweieric Please enforce the PR label and review this. Thanks Also, the failing check sql-cli integration test uses a different Gradle version (8.14.2 vs 9.2.0). I believe this has nothing to do with my changes. |
|
Persistent review updated to latest commit 60613ec |
|
Please take a look at the CI failure. |
60613ec to
f05fbdb
Compare
|
Persistent review updated to latest commit f05fbdb |
Took care of it. Please review. Thanks. |
f05fbdb to
3782336
Compare
|
Persistent review updated to latest commit 3782336 |
Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com> # Conflicts: # integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java # integ-test/src/test/java/org/opensearch/sql/security/CalciteCrossClusterSearchIT.java
3782336 to
9ec4314
Compare
|
Persistent review updated to latest commit 9ec4314 |
|
Hello @mengweieric Can you please review this. |
Description
Add union command to PPL that implements SQL-style UNION ALL semantics with Calcite-based type coercion. The command supports combining multiple datasets (indices, patterns, aliases, or subsearches) with automatic schema merging and missing fields are filled with NULL, compatible types are coerced to a common supertype (e.g., int+float --> float), and incompatible types fall back to string. Works both as a first command and mid-pipeline, where the upstream result set is implicitly included as the first dataset.
Related Issues
Resolves #5110
#5110
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.