Skip to content

Commit 9295e79

Browse files
committed
EQL: return unresolved arguments to concat early
1 parent bd14685 commit 9295e79

File tree

1 file changed

+5
-0
lines changed
  • x-pack/plugin/eql/src/main/java/org/elasticsearch/xpack/eql/expression/function/scalar/string

1 file changed

+5
-0
lines changed

x-pack/plugin/eql/src/main/java/org/elasticsearch/xpack/eql/expression/function/scalar/string/Concat.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ protected TypeResolution resolveType() {
4848
int index = 0;
4949
for (Expression value : values) {
5050
resolution = isExact(value, sourceText(), ParamOrdinal.fromIndex(index));
51+
52+
if (resolution.unresolved()) {
53+
return resolution;
54+
}
55+
5156
index++;
5257
}
5358

0 commit comments

Comments
 (0)