wypoon commented on code in PR #5645: URL: https://github.com/apache/iceberg/pull/5645#discussion_r973468131
########## docs/spark-ddl.md: ########## @@ -132,12 +132,28 @@ The new table properties in the `REPLACE TABLE` command will be merged with any ## `DROP TABLE` -To delete a table, run: +The drop table behavior changed in 0.14. + +Prior to 0.14, running `DROP TABLE` would remove the table from the catalog and delete the table contents as well. + +From 0.14 onwards, `DROP TABLE` would only remove the table from the catalog. +In order to delete the table contents `DROP TABLE PURGE` should be used. Review Comment: Is it worth mentioning that gc.enabled has to be true for the contents to be deleted? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
