cytq-123 commented on code in PR #28945:
URL: https://github.com/apache/flink/pull/28945#discussion_r3930557508


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/CollectionFunctionsITCase.java:
##########
@@ -1900,4 +1901,59 @@ private Stream<TestSetSpec> arrayElementTestCases() {
                         .testResult($("f2").element(), "ELEMENT(f2)", 4.0F, 
DataTypes.FLOAT())
                         .testResult($("f3").element(), "ELEMENT(f3)", null, 
DataTypes.INT()));
     }
+
+    private Stream<TestSetSpec> arrayFlattenTestCases() {
+        return Stream.of(
+                
TestSetSpec.forFunction(BuiltInFunctionDefinitions.ARRAY_FLATTEN)

Review Comment:
   @davidradl,Error test cases for a one-dimensional (non-nested) input were 
added in CollectionFunctionsITCase#arrayFlattenTestCases() via 
testSqlValidationError/testTableApiValidationError, and the validation now 
rejects ARRAY<INT> with a clear message. 



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