You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/08/05 20:20:47 UTC
[GitHub] [incubator-iceberg] rdblue opened a new pull request #350: Add
dropTableAndData to Catalog API
rdblue opened a new pull request #350: Add dropTableAndData to Catalog API
URL: https://github.com/apache/incubator-iceberg/pull/350
This fixes [concerns](https://github.com/apache/incubator-iceberg/pull/240#discussion_r298692031) [raised](https://github.com/apache/incubator-iceberg/pull/240#discussion_r298690327) on the commit that added `HiveCatalog`. Specifically:
* The call to Hive's drop table should specify not to delete data, in case older tables are not external
* There should be a way to clean up table data as part of the drop operation
For the second change, this adds `Catalog.dropTableAndData` that deletes all files referenced in the metadata tree.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org