wuchong commented on a change in pull request #9433: [FLINK-13708] 
[table-planner-blink] transformations should be cleared after execution in 
blink planner
URL: https://github.com/apache/flink/pull/9433#discussion_r313761594
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/api/TableEnvironmentTest.scala
 ##########
 @@ -75,4 +84,41 @@ class TableEnvironmentTest {
       "  LogicalTableScan(table=[[default_catalog, default_database, 
MyTable]])\n"
     assertEquals(expected, actual)
   }
+
+  @Test
+  def testExecuteTwiceUsingSameTableEnv(): Unit = {
+    val settings = 
EnvironmentSettings.newInstance().useBlinkPlanner().inBatchMode().build()
 
 Review comment:
   Does this also works for streaming mode? 
   From the issue title and description, it seems that we want to fix it both 
in streaming mode and batch mode.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to