opensearch-project / sql

Query your data using familiar SQL or intuitive Piped Processing Language (PPL)
https://opensearch.org/docs/latest/search-plugins/sql/index/
Apache License 2.0
121 stars 140 forks source link

[Backport 2.x] Array values are preserved (#1300) (#3095) #3120

Closed penghuo closed 1 month ago

penghuo commented 1 month ago

Signed-off-by: Norman Jordan norman.jordan@improving.com (cherry picked from commit e109417bb3ce770fb54cfd7b231b8219a22ed46f)

Description

Backport. https://github.com/opensearch-project/sql/pull/3095

Related Issues

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

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.

penghuo commented 1 month ago

Upload Artifacts failed, ready to merge.

opensearch-trigger-bot[bot] commented 1 month ago

The backport to 2.15 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/sql/backport-2.15 2.15
# Navigate to the new working tree
pushd ../.worktrees/sql/backport-2.15
# Create a new branch
git switch --create backport/backport-3120-to-2.15
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 81577dfc8035a1baf0751e87e3ac98736021c5dd
# Push it to GitHub
git push --set-upstream origin backport/backport-3120-to-2.15
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/sql/backport-2.15

Then, create a pull request where the base branch is 2.15 and the compare/head branch is backport/backport-3120-to-2.15.