Support Questions
Find answers, ask questions, and share your expertise
Announcements
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

Contributor

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.