JingsongLi commented on a change in pull request #8222: [FLINK-11518]
[SQL/TABLE] Add partition related catalog APIs and implement them in
GenericInMemoryCatalog
URL: https://github.com/apache/flink/pull/8222#discussion_r276927642
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/GenericInMemoryCatalog.java
##########
@@ -202,6 +212,8 @@ public void dropTable(ObjectPath tablePath, boolean
ignoreIfNotExists) throws Ta
if (tableExists(tablePath)) {
tables.remove(tablePath);
+
+ partitions.remove(tablePath);
Review comment:
renameTable too? maybe add test?
----------------------------------------------------------------
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