I am trying to run the following
alter table historical_data drop partition (my_date not rlike '[A-Za-z]');
Which gives me an Exception
org.apache.hadoop.hive.ql.parse.ParseException: line 2:69 mismatched input 'not' expecting set null in drop partition statement
I couldn't find anything similar. I did see one answer on some question in SO but it doesn't work.
Any help is appreciated.