Search in sources :

Example 6 with ParseDriver

use of org.apache.hadoop.hive.ql.parse.ParseDriver in project phoenix by apache.

the class HiveTestUtil method resetParser.

public void resetParser() throws SemanticException {
    pd = new ParseDriver();
    sem = new SemanticAnalyzer(conf);
}
Also used : ParseDriver(org.apache.hadoop.hive.ql.parse.ParseDriver) SemanticAnalyzer(org.apache.hadoop.hive.ql.parse.SemanticAnalyzer) BaseSemanticAnalyzer(org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer)

Aggregations

ParseDriver (org.apache.hadoop.hive.ql.parse.ParseDriver)6 BaseSemanticAnalyzer (org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer)4 SemanticAnalyzer (org.apache.hadoop.hive.ql.parse.SemanticAnalyzer)4 CliDriver (org.apache.hadoop.hive.cli.CliDriver)1 HiveConf (org.apache.hadoop.hive.conf.HiveConf)1 Context (org.apache.hadoop.hive.ql.Context)1 QueryState (org.apache.hadoop.hive.ql.QueryState)1 Hive (org.apache.hadoop.hive.ql.metadata.Hive)1 Partition (org.apache.hadoop.hive.ql.metadata.Partition)1 Table (org.apache.hadoop.hive.ql.metadata.Table)1 ASTNode (org.apache.hadoop.hive.ql.parse.ASTNode)1 DDLSemanticAnalyzer (org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer)1 ParseException (org.apache.hadoop.hive.ql.parse.ParseException)1 HadoopDefaultAuthenticator (org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator)1 Before (org.junit.Before)1