bowenli86 commented on a change in pull request #8449: [FLINK-12235][hive]
Support Hive partition in HiveCatalog
URL: https://github.com/apache/flink/pull/8449#discussion_r286602063
##########
File path:
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/HiveCatalog.java
##########
@@ -740,10 +745,13 @@ public void alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionS
checkNotNull(partitionSpec, "CatalogPartitionSpec cannot be
null");
checkNotNull(newPartition, "New partition cannot be null");
+ checkArgument(newPartition instanceof HiveCatalogPartition,
"Currently only supports HiveCatalogPartition");
Review comment:
ditto
----------------------------------------------------------------
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