Skip to content

Commit f478122

Browse files
committed
Fix after merging main
1 parent 3b0e70f commit f478122

File tree

1 file changed

+10
-3
lines changed
  • x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/lookup

1 file changed

+10
-3
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/lookup/QueryList.java

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,13 @@ public static QueryList dateTermQueryList(
246246
* Returns a list of term queries for the given field and the input block of
247247
* {@code date_nanos} field values.
248248
*/
249-
public static QueryList dateNanosTermQueryList(MappedFieldType field, SearchExecutionContext searchExecutionContext, LongBlock block) {
250-
return new DateNanosQueryList(field, searchExecutionContext, block, null);
249+
public static QueryList dateNanosTermQueryList(
250+
MappedFieldType field,
251+
SearchExecutionContext searchExecutionContext,
252+
AliasFilter aliasFilter,
253+
LongBlock block
254+
) {
255+
return new DateNanosQueryList(field, searchExecutionContext, aliasFilter, block, null);
251256
}
252257

253258
/**
@@ -313,10 +318,11 @@ private static class DateNanosQueryList extends QueryList {
313318
private DateNanosQueryList(
314319
MappedFieldType field,
315320
SearchExecutionContext searchExecutionContext,
321+
AliasFilter aliasFilter,
316322
LongBlock block,
317323
OnlySingleValueParams onlySingleValueParams
318324
) {
319-
super(field, searchExecutionContext, block, onlySingleValueParams);
325+
super(field, searchExecutionContext, aliasFilter, block, onlySingleValueParams);
320326
if (field instanceof RangeFieldMapper.RangeFieldType rangeFieldType) {
321327
// TODO: do this validation earlier
322328
throw new IllegalArgumentException(
@@ -345,6 +351,7 @@ public DateNanosQueryList onlySingleValues(Warnings warnings, String multiValueW
345351
return new DateNanosQueryList(
346352
field,
347353
searchExecutionContext,
354+
aliasFilter,
348355
(LongBlock) block,
349356
new OnlySingleValueParams(warnings, multiValueWarningMessage)
350357
);

0 commit comments

Comments
 (0)