NobiGo commented on code in PR #4476:
URL: https://github.com/apache/calcite/pull/4476#discussion_r2224079000


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -8064,6 +8064,8 @@ void checkRegexpExtract(SqlOperatorFixture f0, 
FunctionAlias functionAlias) {
     SqlOperatorFixture f = fixture()
         .setFor(SqlLibraryOperators.ARRAY_CONCAT)
         .withLibrary(SqlLibrary.BIG_QUERY);
+    // Test case for [CALCITE-7105] ARRAY_CONCAT accepts any type of arguments
+    f.checkFails("^array_concat('a')^", "Cannot apply 'ARRAY_CONCAT'.*", 
false);

Review Comment:
   This exception should be `No match found for function signature 
ARRAY_CONCAT(<CHAR(1)>)`.It should be emphasized that the exception is caused 
by the type. The current exception information seems a bit strange.



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