Skip to content

Commit 1056909

Browse files
committed
Fix merge
1 parent 9860680 commit 1056909

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,11 +1456,11 @@ private void checkWithFullTextFunctionsDisjunctions(String functionName, String
14561456
+ " and length(first_name) > 0) or (match(last_name, \"Anneke\") and length(first_name) > 10)";
14571457
checkdisjunctionError("1:19", expression, functionName, functionType);
14581458

1459-
passes("from test | where " + functionInvocation + " or match(first_name, \"Anna\")");
1460-
passes("from test | where " + functionInvocation + " or not match(first_name, \"Anna\")");
1461-
passes("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and length(first_name) > 10");
1462-
passes("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and match(last_name, \"Smith\")");
1463-
passes("from test | where " + functionInvocation + " or (match(first_name, \"Anna\") and match(last_name, \"Smith\"))");
1459+
query("from test | where " + functionInvocation + " or match(first_name, \"Anna\")");
1460+
query("from test | where " + functionInvocation + " or not match(first_name, \"Anna\")");
1461+
query("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and length(first_name) > 10");
1462+
query("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and match(last_name, \"Smith\")");
1463+
query("from test | where " + functionInvocation + " or (match(first_name, \"Anna\") and match(last_name, \"Smith\"))");
14641464
}
14651465

14661466
public void testQueryStringFunctionWithNonBooleanFunctions() {

0 commit comments

Comments
 (0)