org.apache.hadoop.hive.ql.optimizer.physical
Class SortMergeJoinTaskDispatcher
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.physical.AbstractJoinTaskDispatcher
org.apache.hadoop.hive.ql.optimizer.physical.SortMergeJoinTaskDispatcher
- All Implemented Interfaces:
- Dispatcher
public class SortMergeJoinTaskDispatcher
- extends AbstractJoinTaskDispatcher
- implements Dispatcher
Iterator over each task. If the task has a smb join, convert the task to a conditional task.
The conditional task will first try all mapjoin possibilities, and go the the smb join if the
mapjoin fails. The smb join will be a backup task for all the mapjoin tasks.
SortMergeJoinTaskDispatcher
public SortMergeJoinTaskDispatcher(PhysicalContext context)
processCurrentTask
public Task<? extends Serializable> processCurrentTask(MapRedTask currTask,
ConditionalTask conditionalTask,
Context context)
throws SemanticException
- Specified by:
processCurrentTask
in class AbstractJoinTaskDispatcher
- Throws:
SemanticException
Copyright © 2014 The Apache Software Foundation. All rights reserved.