Skip to content

Commit f4adb64

Browse files
committed
Fix a failing test.
1 parent 7994a6e commit f4adb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ private static Rerank rerank(LogicalPlan child) {
333333
child,
334334
randomLiteral(DataType.KEYWORD),
335335
randomLiteral(randomBoolean() ? DataType.TEXT : DataType.KEYWORD),
336-
randomList(1, 10, () -> new Alias(EMPTY, randomIdentifier(), randomLiteral(randomFrom(DataType.values())))),
336+
randomList(1, 10, () -> new Alias(EMPTY, randomIdentifier(), randomLiteral(DataType.KEYWORD))),
337337
referenceAttribute(randomBoolean() ? MetadataAttribute.SCORE : randomIdentifier(), DataType.DOUBLE)
338338
);
339339
}

0 commit comments

Comments
 (0)