private static ASTNode parse(String query) throws ParseException {
    ASTNode nd = null;
    nd = pd.parse(query, conf).getTree();
    return (ASTNode) nd.getChild(0);
  }
Parser tests for SQL11 Reserved KeyWords. Please find more information in HIVE-6617.
parser/src/test/org/apache/hadoop/hive/ql/parse/TestSQL11ReservedKeyWordsNegative.java