[8.19] ESQL: Extend RENAME syntax to allow a new = old syntax (#129212)#129254
Merged
elasticsearchmachine merged 2 commits intoelastic:8.19from Jun 11, 2025
Merged
[8.19] ESQL: Extend RENAME syntax to allow a new = old syntax (#129212)#129254elasticsearchmachine merged 2 commits intoelastic:8.19from
RENAME syntax to allow a new = old syntax (#129212)#129254elasticsearchmachine merged 2 commits intoelastic:8.19from
Conversation
…29212) This extends RENAME's grammar to allow a new syntax: `| RENAME new_name = old_name` This is supported along the existing `... old_name AS new_name` syntax. Closes elastic#129208 (cherry picked from commit 6c7730d)
Contributor
|
Documentation preview: |
bpintea
commented
Jun 11, 2025
| RENAME old_name1 AS new_name1[, ..., old_nameN AS new_nameN] | ||
| ---- | ||
|
|
||
| The following syntax is also supported: |
Contributor
Author
There was a problem hiding this comment.
@leemthompo, I guess not tagging a specific version is OK here, since we have per-branch docs in 8.x?
mridula-s109
pushed a commit
to mridula-s109/elasticsearch
that referenced
this pull request
Jun 11, 2025
…astic#129212) (elastic#129254) * ESQL: Extend `RENAME` syntax to allow a `new = old` syntax (elastic#129212) This extends RENAME's grammar to allow a new syntax: `| RENAME new_name = old_name` This is supported along the existing `... old_name AS new_name` syntax. Closes elastic#129208 (cherry picked from commit 6c7730d) * Fix merging
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.
This extends RENAME's grammar to allow a new syntax:
| RENAME new_name = old_nameThis is supported along the existing... old_name AS new_namesyntax.Closes #129208
(cherry picked from commit 6c7730d)