@Test
  public void testAnalyzeTable() throws ParseException {
    parse("analyze table \"c/b/o_t1\" partition (dt) compute statistics");
    parse("analyze table \"c/b/o_t1\" compute statistics for columns key, value, c_int, c_float, c_boolean");
    parse("analyze table \"//cbo_t2\" partition (dt) compute statistics");
    parse("analyze table \"//cbo_t2\" compute statistics for columns key, value, c_int, c_float, c_boolean");
    parse("analyze table \"cbo_/t3////\" compute statistics");
    parse("analyze table \"cbo_/t3////\" compute statistics for columns key, value, c_int, c_float, c_boolean");
    parse("analyze table \"src/_/cbo\" compute statistics");
    parse("analyze table \"src/_/cbo\" compute statistics for columns");
    parse("analyze table \"p/a/r/t\" compute statistics");
    parse("analyze table \"p/a/r/t\" compute statistics for columns");
    parse("analyze table \"line/item\" compute statistics");
    parse("analyze table \"line/item\" compute statistics for columns");
  }
Parser tests special character in table names.
parser/src/test/org/apache/hadoop/hive/ql/parse/TestSpecialCharacterInTableNamesQuotes.java