danielcweeks commented on a change in pull request #350: Add dropTable purge 
option to Catalog API
URL: https://github.com/apache/incubator-iceberg/pull/350#discussion_r312103966
 
 

 ##########
 File path: api/src/main/java/org/apache/iceberg/catalog/Catalog.java
 ##########
 @@ -120,6 +120,14 @@ default boolean tableExists(TableIdentifier identifier) {
    */
   boolean dropTable(TableIdentifier identifier);
 
+  /**
+   * Drop a table and remove all data and metadata files.
+   *
+   * @param identifier a table identifier
+   * @return true if the table was dropped, false if the table did not exist
+   */
+  boolean dropTableAndData(TableIdentifier identifier);
 
 Review comment:
   Hey, @rdblue taking a look, I'm not sure I see the updates that you 
mentioned.  I assume what you meant to say was that `dropTable` drops all table 
metadata, but not data files.  I don't see that in the javadoc.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to