dawidwys commented on a change in pull request #9971: [FLINK-14490][table] Add 
methods for interacting with temporary objects
URL: https://github.com/apache/flink/pull/9971#discussion_r338525771
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java
 ##########
 @@ -486,20 +485,22 @@ private void registerTableSinkInternal(String name, 
TableSink<?> tableSink) {
                                        // wrapper contains only sink (not 
source)
                                        ConnectorCatalogTable sourceAndSink = 
ConnectorCatalogTable
                                                
.sourceAndSink(sourceSinkTable.getTableSource().get(), tableSink, 
!IS_STREAM_TABLE);
-                                       
catalogManager.alterTable(sourceAndSink, getTemporaryObjectIdentifier(name), 
false);
 
 Review comment:
   Correct, alterTable works with permanent table. We do not have an API for 
that.

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