Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Update grammar to rely on indexPattern instead of identifier in join target #120784

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

idegtiarenko
Copy link
Contributor

…target (elastic#120494)

This replaces identifier with indexPattern in joinTarget grammar.
This change is needed to make index selection consistent between FROM and [LOOKUP] JOIN commands:

* Both should use the same quotes " (currently join relies on `)
* Both should allow specifying indices with - without having to quote them (not possible with join at the moment)
* Both should conform to allowed index names (there are number of differences today, for example it is possible to specify test? or +test in join even though it is not a valid index name.)

(cherry picked from commit 9ffe3c8)
@idegtiarenko idegtiarenko added >enhancement backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v8.18.0 labels Jan 24, 2025
@idegtiarenko idegtiarenko added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jan 24, 2025
@idegtiarenko idegtiarenko merged commit 602bf1a into elastic:8.x Jan 24, 2025
15 checks passed
@idegtiarenko idegtiarenko deleted the backport/8.x/pr-120494 branch January 24, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants