@Test
  public void showCompactions() throws Exception {
    parseAndAnalyze("show compactions");
  }
Tests for parsing and semantic analysis of ALTER TABLE ... compact.
ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java