Affects Version/s: None
Fix Version/s: 0.11.0
Component/s: Query Processor
Release Note:Map join hint will no longer be valid for some queries. Drop the hint in those cases. Hive will automatically try to convert join to map-join with config hive.auto.convert.join set to true.
hive.auto.convert.join has been around for a long time, and is pretty stable.
When mapjoin hint was created, the above parameter did not exist.
The only reason for the user to specify a mapjoin currently is if they want
it to be converted to a bucketed-mapjoin or a sort-merge bucketed mapjoin.
Eventually, that should also go away, but that may take some time to stabilize.
There are many rules in SemanticAnalyzer to handle the following trees:
ReduceSink -> MapJoin
Union -> MapJoin
MapJoin -> MapJoin
This should not be supported anymore. In any of the above scenarios, the
user can get the mapjoin behavior by setting hive.auto.convert.join to true
and not specifying the hint. This will simplify the code a lot.
What does everyone think ?
|Status||Patch Available [ 10002 ]||Open [ 1 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Release Note||Map join hint will no longer be valid for some queries. Drop the hint in those cases. Hive will automatically try to convert join to map-join with config hive.auto.convert.join set to true.|
|Fix Version/s||0.11.0 [ 12323587 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|26d 23h 29m||1||Namit Jain||09/Jan/13 08:57|
|19d 21h 7m||2||Namit Jain||26/Jan/13 02:58|
|3d 12h 40m||1||Ashutosh Chauhan||29/Jan/13 15:38|
|107d 5h 32m||1||Owen O'Malley||16/May/13 22:10|