xuefuz commented on a change in pull request #8449: [FLINK-12235][hive] Support 
partition related operations in HiveCatalog
URL: https://github.com/apache/flink/pull/8449#discussion_r286136256
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/GenericInMemoryCatalog.java
 ##########
 @@ -492,15 +484,12 @@ public void alterPartition(ObjectPath tablePath, 
CatalogPartitionSpec partitionS
                checkNotNull(tablePath);
                checkNotNull(partitionSpec);
 
-               if (!tableExists(tablePath)) {
 
 Review comment:
   Don't we need this check any more? The method signature specifies throwing 
TableNotExistException.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to