Search in sources :

Example 1 with SubQueryType

use of org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryType 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