davidradl commented on code in PR #27330:
URL: https://github.com/apache/flink/pull/27330#discussion_r2603559997
##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/nodes/exec/stream/VariantSemanticTest.java:
##########
@@ -253,6 +256,185 @@ public class VariantSemanticTest extends SemanticTestBase
{
.runSql("INSERT INTO sink_t SELECT k, SUM(v) AS total FROM
t GROUP BY k")
.build();
+ static final TableTestProgram VARIANT_ARRAY_ACCESS_SQL;
+
+ static final TableTestProgram VARIANT_ARRAY_ACCESS_TABLE_API;
+
+ static final TableTestProgram VARIANT_OBJECT_ACCESS_SQL;
+
+ static final TableTestProgram VARIANT_OBJECT_ACCESS_TABLE_API;
+
+ static final TableTestProgram VARIANT_NESTED_ACCESS_SQL;
+
+ static final TableTestProgram VARIANT_NESTED_ACCESS_TABLE_API;
+
+ public static final SourceTestStep VARIANT_ARRAY_SOURCE =
Review Comment:
could we have some error tests please. I am thinking.
-supply an integer to a map
-supply a string to an array
-supply an invalid type.
- make sure the error message makes sense for nested failures.
--
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]