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


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -7189,6 +7189,33 @@ void checkRegexpExtract(SqlOperatorFixture f0, 
FunctionAlias functionAlias) {
         "INTEGER ARRAY NOT NULL");
   }
 
+  @Test void testMapContainsKeyFunc() {

Review Comment:
   Negative tests refer to error tests. I know that there is a certain problem 
with type conversion here. map_contains_key(map(1, 2), cast(1 as double) 
returns false, and spark returns true. This may involve some node type 
conversion bug



-- 
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