hanyuzheng7 commented on code in PR #29624:
URL: https://github.com/apache/flink/pull/29624#discussion_r4402729605


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/nodes/exec/TransformationsTest.java:
##########
@@ -151,6 +153,43 @@ void testLegacyBatchValues() {
         assertBoundedness(Boundedness.BOUNDED, sourceTransform);
     }
 
+    @Test
+    void testStreamValues() {
+        final StreamTableEnvironment env =
+                StreamTableEnvironment.create(
+                        StreamExecutionEnvironment.getExecutionEnvironment(),
+                        
EnvironmentSettings.newInstance().inStreamingMode().build());
+
+        final Table table = env.fromValues(1, 2, 3);
+
+        assertBoundedness(
+                Boundedness.CONTINUOUS_UNBOUNDED, 
toValuesSourceTransformation(env, table));
+    }
+
+    @Test
+    void testStreamValuesWithoutRows() {

Review Comment:
   Good point. The test now also checks that explainSql contains 
Values(tuples=[[]]).



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