Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Dec 13, 2024
1 parent 9860680 commit 1056909
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1456,11 +1456,11 @@ private void checkWithFullTextFunctionsDisjunctions(String functionName, String
+ " and length(first_name) > 0) or (match(last_name, \"Anneke\") and length(first_name) > 10)";
checkdisjunctionError("1:19", expression, functionName, functionType);

passes("from test | where " + functionInvocation + " or match(first_name, \"Anna\")");
passes("from test | where " + functionInvocation + " or not match(first_name, \"Anna\")");
passes("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and length(first_name) > 10");
passes("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and match(last_name, \"Smith\")");
passes("from test | where " + functionInvocation + " or (match(first_name, \"Anna\") and match(last_name, \"Smith\"))");
query("from test | where " + functionInvocation + " or match(first_name, \"Anna\")");
query("from test | where " + functionInvocation + " or not match(first_name, \"Anna\")");
query("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and length(first_name) > 10");
query("from test | where (" + functionInvocation + " or match(first_name, \"Anna\")) and match(last_name, \"Smith\")");
query("from test | where " + functionInvocation + " or (match(first_name, \"Anna\") and match(last_name, \"Smith\"))");
}

public void testQueryStringFunctionWithNonBooleanFunctions() {
Expand Down

0 comments on commit 1056909

Please sign in to comment.