raminqaf commented on code in PR #26942:
URL: https://github.com/apache/flink/pull/26942#discussion_r2300971423


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/MapFunctionITCase.java:
##########
@@ -97,9 +97,16 @@ private Stream<TestSetSpec> mapTestCases() {
                                 DECIMAL(10, 4).notNull(),
                                 BOOLEAN().notNull())
                         .testResult(
+                                resultSpec(
+                                        map(
+                                                1, 1, 1, 2, 1, 9, 1, 3, 2, 24, 
2, 29, 1, 0, 2, 22,
+                                                1, 8, 2, 25, 2, 20),
+                                        "MAP[1, 1, 1, 2, 1, 9, 1, 3, 2, 24, 2, 
29, 1, 0, 2, 22, 1, 8, 2, 25, 2, 20]",
+                                        Map.ofEntries(Map.entry(1, 8), 
Map.entry(2, 20)),
+                                        DataTypes.MAP(INT().notNull(), 
INT().notNull()).notNull()),

Review Comment:
   Similar to the tests case below but the order of the kvs is mixed. If not 
necessary it can be removed.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to