Skip to content

[8.x] Support multi-index LOOKUP JOIN and various bug fixes (#118429)#118799

Merged
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
craigtaverner:backport/8.x/pr-118429
Dec 16, 2024
Merged

[8.x] Support multi-index LOOKUP JOIN and various bug fixes (#118429)#118799
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
craigtaverner:backport/8.x/pr-118429

Conversation

@craigtaverner
Copy link
Contributor

Backports the following commits to 8.x:

While working on supporting multi-index LOOKUP JOIN; various bugs were
fixed:

* Previously we just used '*' for lookup-join indices, because the fieldnames were sometimes not being correctly determined. The problem was with KEEP referencing fields from the right that had previously been defined on the left as aliases, including using the ROW command. We normally don't want to ask for aliases, but if they could be shadowed by a lookup join, we need to keep them.
* With both single and multi-index LOOKUP JOIN we need to mark each index as potentially wildcard fields, if the KEEP commands occur before the LOOKUP JOIN.
@craigtaverner craigtaverner added :Analytics/ES|QL AKA ESQL >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Dec 16, 2024
@elasticsearchmachine elasticsearchmachine merged commit 7faceaf into elastic:8.x Dec 16, 2024
@craigtaverner craigtaverner deleted the backport/8.x/pr-118429 branch December 16, 2024 21:34
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 >non-issue 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