Description
Doing "alter table foo compact 'minor'" results in the error:
ERROR ql.Driver (SessionState.java:printError(550)) - FAILED: HiveException Operation should not be null
org.apache.hadoop.hive.ql.metadata.HiveException: Operation should not be null
"alter table foo partition (key='value') compact 'minor'" works fine.