You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by we...@apache.org on 2017/05/17 02:53:07 UTC

[29/50] [abbrv] hive git commit: HIVE-16602: Implement shared scans with Tez (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum)

HIVE-16602: Implement shared scans with Tez (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/877bbf0e
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/877bbf0e
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/877bbf0e

Branch: refs/heads/hive-14535
Commit: 877bbf0e5458f7b8a872511faa222e6992167e86
Parents: 59f6577
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Sat May 13 08:15:27 2017 +0100
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Sat May 13 08:15:27 2017 +0100

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/877bbf0e/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java
index d04fc64..5964fd4 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedScanOptimizer.java
@@ -322,7 +322,7 @@ public class SharedScanOptimizer extends Transform {
     // work when the TS operators are merged. This is due to an assumption in
     // MergeJoinProc that needs to be further explored.
     // If any of these conditions are not met, we cannot merge.
-    // TODO: Extend rule so it can be apply for these cases.
+    // TODO: Extend rule so it can be applied for these cases.
     final Set<Operator<?>> workOps1 = findWorkOperators(optimizerCache, prevTsOp);
     final Set<Operator<?>> workOps2 = findWorkOperators(optimizerCache, tsOp);
     boolean foundDummyStoreOp = false;
@@ -450,14 +450,14 @@ public class SharedScanOptimizer extends Transform {
             set.addAll(findWorkOperators(optimizerCache, child));
           }
         }
-        // Semijoin DPP work is considered an child because work needs
+        // Semijoin DPP work is considered a child because work needs
         // to finish for it to execute
         SemiJoinBranchInfo sjbi = pctx.getRsToSemiJoinBranchInfo().get(op);
         if (sjbi != null) {
           set.addAll(findWorkOperators(optimizerCache, sjbi.getTsOp()));
         }
       } else if(op.getConf() instanceof DynamicPruningEventDesc) {
-        // DPP work is considered an child because work needs
+        // DPP work is considered a child because work needs
         // to finish for it to execute
         set.addAll(findWorkOperators(
                 optimizerCache, ((DynamicPruningEventDesc) op.getConf()).getTableScan()));