FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1 4be4e9b27 -> fe88d3c2e


Revert "HIVE-10175: DynamicPartitionPruning lacks a fast-path exit for large IN() queries (Gopal V, reviewed by Jesus Camacho Rodriguez)"

This reverts commit b6d1143aa7aaa20de035898f34df2d6b581895b6.


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

Branch: refs/heads/branch-1
Commit: fe88d3c2efde2c589287613b29d151ba3a37c6b9
Parents: 4be4e9b
Author: Gopal V <gopalv@apache.org>
Authored: Fri Aug 28 02:44:21 2015 -0700
Committer: Gopal V <gopalv@apache.org>
Committed: Fri Aug 28 02:44:21 2015 -0700

----------------------------------------------------------------------
  .../optimizer/DynamicPartitionPruningOptimization.java | 12 ------------
  1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/fe88d3c2/ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java
index 5ebd28a..f475926 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java
@@ -189,18 +189,6 @@ public class DynamicPartitionPruningOptimization implements NodeProcessor {
        LOG.debug("TableScan: " + ts);
      }

- if (ts == null) {
- // could be a reduce sink
- LOG.warn("Could not find the table scan for " + filter);
- return null;
- } else {
- Table table = ts.getConf().getTableMetadata();
- if (table != null && !table.isPartitioned()) {
- // table is not partitioned, skip optimizer
- return null;
- }
- }
-
      // collect the dynamic pruning conditions
      removerContext.dynLists.clear();
      walkExprTree(desc.getPredicate(), removerContext);

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedAug 28, '15 at 9:44a
activeAug 28, '15 at 9:44a
posts1
users1
websitehive.apache.org

1 user in discussion

Gopalv: 1 post

People

Translate

site design / logo © 2021 Grokbase