Skip to content

Commit 49e9d3e

Browse files
Bugfix
1 parent 0ada5c4 commit 49e9d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ public LookupFromIndexOperator(
145145

146146
@Override
147147
protected void performAsync(Page inputPage, ActionListener<OngoingJoin> listener) {
148-
Block[] inputBlockArray = new Block[matchFields.size()];
149148
List<MatchConfig> newMatchFields = new ArrayList<>();
150149
List<MatchConfig> uniqueMatchFields = uniqueMatchFieldsByName(matchFields);
150+
Block[] inputBlockArray = new Block[uniqueMatchFields.size()];
151151
for (int i = 0; i < uniqueMatchFields.size(); i++) {
152152
MatchConfig matchField = uniqueMatchFields.get(i);
153153
int inputChannel = matchField.channel();

0 commit comments

Comments
 (0)