New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIVE-23467: Add a skip.trash config for HMS to skip trash when deleti… #1133
Conversation
…ng external table data
so if the goal is to deprecate "external.table.purge" going forward in favor of "external.table.autodelete", can we remove all the current references in the code as well and convert them to the new property. so all the new tables should be creating using the new property. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The final idea was to just add skip.trash at the table properties level, and not adding alias for external.table.purge.
@@ -105,6 +105,7 @@ protected DateFormat initialValue() { | |||
public static final String DB_EMPTY_MARKER = "!"; | |||
|
|||
public static final String EXTERNAL_TABLE_PURGE = "external.table.purge"; | |||
public static final String EXTERNAL_TABLE_AUTODELETE = "external.table.autodelete"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change some existing auto.purge to skip.trash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good to me. +1 for me.
This fix has been committed to master for 4.0.0 release. This can be closed out. |
…ng external table data