Search in sources :

Example 11 with UnionOperator

use of org.apache.hadoop.hive.ql.exec.UnionOperator in project hive by apache.

the class UnionProcessor method process.

@Override
public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, Object... nodeOutputs) throws SemanticException {
    GenTezProcContext context = (GenTezProcContext) procCtx;
    UnionOperator union = (UnionOperator) nd;
    // simply need to remember that we've seen a union.
    context.currentUnionOperators.add(union);
    return null;
}
Also used : UnionOperator(org.apache.hadoop.hive.ql.exec.UnionOperator)

Aggregations

UnionOperator (org.apache.hadoop.hive.ql.exec.UnionOperator)11 Operator (org.apache.hadoop.hive.ql.exec.Operator)6 TableScanOperator (org.apache.hadoop.hive.ql.exec.TableScanOperator)5 OperatorDesc (org.apache.hadoop.hive.ql.plan.OperatorDesc)5 FileSinkOperator (org.apache.hadoop.hive.ql.exec.FileSinkOperator)4 FilterOperator (org.apache.hadoop.hive.ql.exec.FilterOperator)4 ReduceSinkOperator (org.apache.hadoop.hive.ql.exec.ReduceSinkOperator)4 Serializable (java.io.Serializable)3 ArrayList (java.util.ArrayList)3 HashMap (java.util.HashMap)3 ColumnInfo (org.apache.hadoop.hive.ql.exec.ColumnInfo)3 JoinOperator (org.apache.hadoop.hive.ql.exec.JoinOperator)3 MapJoinOperator (org.apache.hadoop.hive.ql.exec.MapJoinOperator)3 RowSchema (org.apache.hadoop.hive.ql.exec.RowSchema)3 SMBMapJoinOperator (org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator)3 Task (org.apache.hadoop.hive.ql.exec.Task)3 MapredWork (org.apache.hadoop.hive.ql.plan.MapredWork)3 LinkedHashMap (java.util.LinkedHashMap)2 Map (java.util.Map)2 Entry (java.util.Map.Entry)2