hequn8128 commented on a change in pull request #6236: [FLINK-9699] [table] Add 
api to replace registered table
URL: https://github.com/apache/flink/pull/6236#discussion_r241972705
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
 ##########
 @@ -395,11 +395,12 @@ abstract class TableEnvironment(val config: TableConfig) 
{
   /**
     * Creates a table from a table source.
     *
-    * @param source table source used as table
+    * @param source table source used as table.
+    * @param replace Whether to replace the registered table.
     */
-  def fromTableSource(source: TableSource[_]): Table = {
+  def fromTableSource(source: TableSource[_], replace: Boolean = false): Table 
= {
 
 Review comment:
   Recovery this method as `createUniqueTableName ()` makes replace useless.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to