Posts: 17
Registered: ‎09-17-2016

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.