rdblue commented on a change in pull request #1481: URL: https://github.com/apache/iceberg/pull/1481#discussion_r493966718
########## File path: core/src/main/java/org/apache/iceberg/hadoop/HadoopTables.java ########## @@ -144,6 +147,52 @@ public Table create(Schema schema, PartitionSpec spec, SortOrder order, return new BaseTable(ops, location); } + /** + * Drop a table and delete all data and metadata files. Throws NoSuchTableException if the table does not exists. + * + * @param location a path URI (e.g. hdfs:///warehouse/my_table) + * @return true if the table was dropped + */ + public boolean dropTable(String location) { Review comment: I think this wasn't implemented before because it is not part of the `Tables` API, but now that this is the only implementation, maybe we should consider just deprecating the `Tables` API and making `HadoopTables` a stand-alone class. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org