Skip to content

[9.0] ESQL: Fix some more usages of field attribute names in LOOKUP JOIN (#129355) #129577

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

alex-spies
Copy link
Contributor

@alex-spies alex-spies commented Jun 17, 2025

This will backport the following commits from main to 9.0:

…lastic#129355)

* Add a test that demonstrates that LOOKUP JOIN works with union types.
* Fix usage of FieldAttribute#name where we should use FieldAttribute#fieldName in LOOKUP JOIN.
* Refactor LookupJoinTypesIT

This doesn't fix any bugs per se, but will avoid bwc problems once we propagate union type field attributes into Join LogicalPlan nodes.

(cherry picked from commit 65cbccc)

# Conflicts:
#	x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/LookupFromIndexIT.java
#	x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/LookupJoinTypesIT.java
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/FullTextFunction.java
@alex-spies alex-spies added backport >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v9.0.3 labels Jun 17, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9703906 into elastic:9.0 Jun 17, 2025
17 checks passed
@alex-spies alex-spies deleted the backport/9.0/pr-129355 branch June 17, 2025 17:36
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 >refactoring v9.0.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants