Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Re: Review Request: HIVE-2206: add a new optimizer for query correlation discovery and optimization


Copy link to this message
-
Re: Review Request: HIVE-2206: add a new optimizer for query correlation discovery and optimization

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2001/
-----------------------------------------------------------

(Updated 2012-02-10 20:49:01.177796)
Review request for hive.
Changes
-------

updated patch on revision 1237253. Will generate the patch based on the latest trunk latter.
Summary
-------

This optimizer exploits intra-query correlations and merges multiple correlated MapReduce jobs into one jobs.
This addresses bug HIVE-2206.
    https://issues.apache.org/jira/browse/HIVE-2206
Diffs (updated)
-----

  trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/BaseReduceSinkOperator.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/CorrelationCompositeOperator.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/CorrelationLocalSimulativeReduceSinkOperator.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/CorrelationReducerDispatchOperator.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/SMBMapJoinOperator.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/CorrelationOptimizer.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/CorrelationOptimizerUtils.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseReduceSinkDesc.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/CorrelationCompositeDesc.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/CorrelationLocalSimulativeReduceSinkDesc.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/CorrelationReducerDispatchDesc.java PRE-CREATION
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/MapredWork.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ReduceSinkDesc.java 1237326
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/TableScanDesc.java 1237326
  trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java 1237326
  trunk/ql/src/test/results/compiler/plan/groupby1.q.xml 1237326
  trunk/ql/src/test/results/compiler/plan/groupby2.q.xml 1237326
  trunk/ql/src/test/results/compiler/plan/groupby3.q.xml 1237326
  trunk/ql/src/test/results/compiler/plan/groupby5.q.xml 1237326

Diff: https://reviews.apache.org/r/2001/diff
Testing
-------
Thanks,

Yin