[
https://issues.apache.org/jira/browse/HIVE-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liyin Tang updated HIVE-1642:
-----------------------------
Attachment: hive-1642_7.patch
In Task.java
public void replaceWithConditionalTask(ConditionalTask cndTsk, PhysicalContext
physicalContext) {
// take care of parent tasks
....
...
// take care of children tasks
List<Task<? extends Serializable>> oldChildTasks = this.getChildTasks();
if (oldChildTasks != null) {
for (Task<? extends Serializable> tsk : cndTsk.getListTasks()) {
if (tsk.equals(this)) {
// avoid redundantly add this task again
continue;
}
for (Task<? extends Serializable> oldChild : oldChildTasks) {
tsk.addDependentTask(oldChild);
}
}
}
> Convert join queries to map-join based on size of table/row
> -----------------------------------------------------------
>
> Key: HIVE-1642
> URL: https://issues.apache.org/jira/browse/HIVE-1642
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Liyin Tang
> Fix For: 0.7.0
>
> Attachments: hive-1642_5.patch, hive-1642_6.patch, hive-1642_7.patch,
> hive_1642_1.patch, hive_1642_2.patch, hive_1642_4.patch
>
>
> Based on the number of rows and size of each table, Hive should automatically
> be able to convert a join into map-join.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.