jackye1995 commented on PR #6786: URL: https://github.com/apache/iceberg/pull/6786#issuecomment-1424727896
I would +1 on having this at catalog API level, and +1 on making this a catalog-specific implementation for drop table so user can just run `DROP TABLE` as usual, instead of having an `unregisterTable` API, I don't know how we can define `unregister` for it to make sense from catalog perspective... Why can't this just be: ``` public boolean dropTable(TableIdentifier identifier, boolean purge) { try { // original logic } catch (RuntimeException e) { // do catalog specific removal } } ``` Especially I think for Nessie this is just a client call, so it makes it even easier because you can just do this on server side. -- 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