FAQ
Repository: hive
Updated Branches:
   refs/heads/master c8f15f7b8 -> eb2b7b81f


HIVE-12798 : CBO: Calcite Operator To Hive Operator (Calcite Return Path): MiniTezCliDriver.vector* queries failures due to NPE in Vectorizer.onExpressionHasNullSafes() (Hari Subramaniyan, reviewed by Matt McCline )


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

Branch: refs/heads/master
Commit: eb2b7b81f815238cc2b67d701d45aa7618fc8d13
Parents: c8f15f7
Author: Hari Subramaniyan <harisankar@apache.org>
Authored: Tue Jan 19 14:35:51 2016 -0800
Committer: Hari Subramaniyan <harisankar@apache.org>
Committed: Tue Jan 19 14:35:51 2016 -0800

----------------------------------------------------------------------
  .../org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java | 3 +++
  1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/eb2b7b81/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
index f462bd6..ee080aa 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
@@ -1911,6 +1911,9 @@ public class Vectorizer implements PhysicalPlanResolver {

    private boolean onExpressionHasNullSafes(MapJoinDesc desc) {
      boolean[] nullSafes = desc.getNullSafes();
+ if (nullSafes == null) {
+ return false;
+ }
      for (boolean nullSafe : nullSafes) {
        if (nullSafe) {
          return true;

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJan 19, '16 at 10:36p
activeJan 19, '16 at 11:24p
posts2
users1
websitehive.apache.org

1 user in discussion

Harisankar: 2 posts

People

Translate

site design / logo © 2021 Grokbase