Reputation: 37
Could you please let me know how to add retention period to Hive tables. In the below URL I could see partition discovery and retention is not recommended for use on managed tables. I don't understand why it is not recommended.
MSCK REPAIR TABLE table_name SYNC PARTITIONS
'auto.purge'='true', 'discover.partitions'='true',
'partition.retention.period'='30m',
Upvotes: 0
Views: 854