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 2022/09/16 22:13:20 UTC

[GitHub] [iceberg] wypoon commented on a diff in pull request #5645: [Docs] Update drop table behavior in spark-ddl docs

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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org