Skip to content

Commit 20c7fa5

Browse files
Disable optimization for field based join
1 parent 9ad6704 commit 20c7fa5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/enrich/LookupFromIndexOperator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ protected void performAsync(Page inputPage, ActionListener<OngoingJoin> listener
180180
}
181181

182182
private List<MatchConfig> uniqueMatchFieldsByName(List<MatchConfig> matchFields) {
183+
if (joinOnConditions == null) {
184+
return matchFields;
185+
}
183186
List<MatchConfig> uniqueFields = new ArrayList<>();
184187
Set<String> seenFieldNames = new HashSet<>();
185188
for (MatchConfig matchField : matchFields) {

0 commit comments

Comments
 (0)