Search in sources :

Example 1 with SubQueryTypeDef

use of org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryTypeDef in project hive by apache.

the class SubQueryUtils method buildSQOperator.

static SubQueryTypeDef buildSQOperator(ASTNode astSQOp) throws SemanticException {
    ASTNode opAST = (ASTNode) astSQOp.getChild(0);
    SubQueryType type = SubQueryType.get(opAST);
    return new SubQueryTypeDef(opAST, type);
}
Also used : SubQueryTypeDef(org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryTypeDef) SubQueryType(org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryType)

Aggregations

SubQueryType (org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryType)1 SubQueryTypeDef (org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryTypeDef)1