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

  • Harisankar at Jan 19, 2016 at 11:24 pm
    Repository: hive
    Updated Branches:
       refs/heads/branch-2.0 6f9e14653 -> cb796aeb2


    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/cb796aeb
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/cb796aeb
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/cb796aeb

    Branch: refs/heads/branch-2.0
    Commit: cb796aeb2fc16f428215fe579926c697d3d66b42
    Parents: 6f9e146
    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 15:24:45 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/cb796aeb/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;

Related Discussions

Discussion Navigation
viewthread | post
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