Skip to content

Commit 1ee6b47

Browse files
committed
Set condition not specific enough
1 parent f61e612 commit 1ee6b47

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

x-pack/plugin/esql/compute/gen/src/main/java/org/elasticsearch/compute/gen/EvaluatorImplementer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private TypeSpec type() {
9696
builder.addField(DRIVER_CONTEXT, "driverContext", Modifier.PRIVATE, Modifier.FINAL);
9797

9898
var hasFixedProcessFunctionArgs = processFunction.args.stream().anyMatch(x -> x instanceof FixedArgument == false);
99-
var usesWarnings = processFunction.warnExceptions.isEmpty() == false || allNullsIsNull;
99+
var usesWarnings = processFunction.warnExceptions.isEmpty() == false || hasFixedProcessFunctionArgs && allNullsIsNull;
100100

101101
if (usesWarnings) {
102102
builder.addField(WARNINGS, "warnings", Modifier.PRIVATE);

x-pack/plugin/esql/src/main/generated/org/elasticsearch/xpack/esql/expression/function/scalar/date/NowEvaluator.java

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)