Skip to content

Conversation

alex-spies
Copy link
Contributor

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

This will backport the following commits from main to 8.18:

…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 >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v8.18.3 labels Jun 17, 2025
@elasticsearchmachine elasticsearchmachine merged commit bc8ea7c into elastic:8.18 Jun 17, 2025
16 checks passed
@alex-spies alex-spies deleted the backport/8.18/pr-129355 branch June 17, 2025 17:46
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 v8.18.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants