dawidwys commented on a change in pull request #8050: [FLINK-11067][table] 
Convert TableEnvironments to interfaces
URL: https://github.com/apache/flink/pull/8050#discussion_r276218917
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/Table.java
 ##########
 @@ -89,6 +89,11 @@
         */
        TableOperation getTableOperation();
 
+       /**
+        * Returns the {@link TableEnvironment} of this table.
+        */
+       TableEnvironment getTableEnvironment();
 
 Review comment:
   Let's not add this method. My opinion is we should decouple `Table` from 
`TableEnvironment`. The only obstacle so far is only the `writeToSink` method.

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