kevinjqliu commented on issue #1400:
URL: 
https://github.com/apache/iceberg-python/issues/1400#issuecomment-2518280875

   `drop_namespace` and `drop_table` are metadata operations. in this case, 
they will remove the specific entries in the postgres database. 
   
   for `drop_table`, some catalog implementations also support removing the 
underlying files associated with the table. for example 
   
https://github.com/apache/iceberg-python/blob/df804c4c65033039ef16bb9a51c68aebfb010e5e/pyiceberg/catalog/rest.py#L706-L716
   
   for catalogs which subclass `MetastoreCatalog` like 
[`SqlCatalog`](https://github.com/apache/iceberg-python/blob/df804c4c65033039ef16bb9a51c68aebfb010e5e/pyiceberg/catalog/sql.py#L107)
 there is a 
[`purge_table`](https://github.com/apache/iceberg-python/blob/df804c4c65033039ef16bb9a51c68aebfb010e5e/pyiceberg/catalog/__init__.py#L811)
 function available to remove the files


-- 
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-unsubscr...@iceberg.apache.org

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

Reply via email to