waterlx commented on issue #751: Add an option to decide whether to delete data 
files in Catalog.dropTable()
URL: 
https://github.com/apache/incubator-iceberg/issues/751#issuecomment-585286984
 
 
   @rdblue got your idea. Thanks!
   I might need to check with you about the expected behavior of dropTable, 
especially when purge = false.
   Catalog # dropTable() defines the behavior to handle metadata and data when 
purge = true explicity, as 
   ```
   * @param purge if true, delete all metadata and data files in the table
   ```
   But what about purge = false? 
   (1) keep both data and metadata
   or
   (2) keep data and delete metadata
   
   (1) is the current behavior of Iceberg. But is it the expected behavior? I 
might think that (2) is the correct behavior: When I am calling dropTable,  
metadata is deleted for sure, while purge is used to determine if data files 
are deleted or not.
   
   Could you please share your idea about that? Thanks!
   I am trying to check the behavior of Spark or Hive regarding dropTable with 
purge = false.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to