11-19-2017 03:28 AM
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.