hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject hive git commit: HIVE-16969: Improvement performance of MapOperator for Parquet (Colin Ma, reviewed by Ferdinand Xu)
Date Wed, 28 Jun 2017 05:49:37 GMT
Repository: hive
Updated Branches:
  refs/heads/master 22494f8bd -> fafa953ff


HIVE-16969: Improvement performance of MapOperator for Parquet (Colin Ma, reviewed by Ferdinand
Xu)


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

Branch: refs/heads/master
Commit: fafa953ffcb4c94997feca3e3ed3a23a91a0fe4a
Parents: 22494f8
Author: Ferdinand Xu <cheng.a.xu@intel.com>
Authored: Wed Jun 28 13:41:24 2017 +0800
Committer: Ferdinand Xu <cheng.a.xu@intel.com>
Committed: Wed Jun 28 13:41:24 2017 +0800

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/fafa953f/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
index d801ae7..a5a56ea 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
@@ -346,6 +346,9 @@ public class MapOperator extends AbstractMapOperator {
       }
 
       String tableName = conf.getPathToPartitionInfo().get(e.getKey()).getTableName();
+      if (tableNameToConf.containsKey(tableName)) {
+        continue;
+      }
       for (String alias: aliases) {
         Operator<?> rootOp = conf.getAliasToWork().get(alias);
         if (!(rootOp instanceof TableScanOperator)) {


Mime
View raw message