caicancai commented on code in PR #3746:
URL: https://github.com/apache/calcite/pull/3746#discussion_r1548766466


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -7126,6 +7126,9 @@ void checkRegexpExtract(SqlOperatorFixture f0, 
FunctionAlias functionAlias) {
         "Cannot apply 'ARRAYS_OVERLAP' to arguments of type 'ARRAYS_OVERLAP\\("
             + "<INTEGER ARRAY>, <BOOLEAN>\\)'. Supported form\\(s\\): 
'ARRAYS_OVERLAP\\("
             + "<EQUIVALENT_TYPE>, <EQUIVALENT_TYPE>\\)'", false);
+    f.checkNull("arrays_overlap(null, null)");

Review Comment:
   > I am not sure what you mean by that. This is a legal expression which 
shouldn't crash the compiler.
   
   It seems to be a bug in spark. I can help you test it on the latest code 
branch of spark to see if it can be fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to