[FEATURE] Add Union command in PPL #5240
[FEATURE] Add Union command in PPL #5240srikanthpadakanti wants to merge 3 commits intoopensearch-project:mainfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit f64bacb)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to f64bacb Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 811fc25
Suggestions up to commit b6879f9
Suggestions up to commit 23f420d
Suggestions up to commit 9ec4314
Suggestions up to commit 3782336
|
7ab57cb to
5fd5e1c
Compare
|
Persistent review updated to latest commit 5fd5e1c |
dcbc60f to
12b2eb5
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 |
3782336 to
9ec4314
Compare
|
Persistent review updated to latest commit 9ec4314 |
|
Hello @mengweieric Can you please review this. |
|
@anasalkouz @mengweieric Can you please review this. |
|
Please also take a look at the merge conflicts |
|
Persistent review updated to latest commit 23f420d |
|
Persistent review updated to latest commit b6879f9 |
Done. The PR was opened earlier and the branch was behind by 24 commits. It has now been updated. Could you please review it before any new conflicts arise? |
|
Persistent review updated to latest commit 811fc25 |
Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com>
Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com>
Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com>
811fc25 to
f64bacb
Compare
|
Persistent review updated to latest commit f64bacb |
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.