Created 02-13-2019 08:33 AM
Hi,
Is there a way to
1) Setup table retention in a Hive table properties? AND/ OR
2) Automate the process of applying retention policy on Hive partitioned tables (partition based on date)?
Created 02-13-2019 09:00 AM
Hi @Kashif Amir,
what is the HDP version you are using ?
if the version is HDP 2.X please see https://falcon.apache.org/FalconDocumentation.html#Retention
Created 02-13-2019 09:30 AM
Hi @subhash parise,
Thank you for your insight.
The HDP version is 2.6.4.
I haven't setup Falcon in the environment. Any other possible way to achieve the same?
Created 02-13-2019 09:56 AM
Hi @Kashif Amir,
The other way is automate this task by using shell or python:
you can get the table creation by using "desc formatted db.tablename"