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


##########
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:
   Done! Added error validation test case for one-dimensional array input in 
CollectionFunctionsITCase.java:
   - testSqlValidationError for SQL API
   - testTableApiValidationError for Table API



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