Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive Partition deletion


Hive Partition deletion


I have Hive Partitions based on date yyyy-mm-dd. I want to run a script everyday that can delete all the 30 days old Partitions based on current date but in this case I don't want to pass the date. I want it can take system date and delete the 30 days old partitions. Kindly help me out.

Don't have an account?
Coming from Hortonworks? Activate your account here