ASTNode parse(String query) throws ParseException {
    ASTNode nd = pd.parse(query).getTree();
    return (ASTNode) nd.getChild(0);
  }
Basic parser tests for multi-statement transactions
parser/src/test/org/apache/hadoop/hive/ql/parse/positive/TestTransactionStatement.java