Hive
  1. Hive
  2. HIVE-5526

NPE in ConstantVectorExpression.evaluate(vrg)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      A query like select * from alltypesorc where 1=1 limit 10; triggers NPW at execution in ConstantVectorExpression.evaluate(vrg). this.type is null, is transient and doe snot make it across the compile/execution serialization.

      1. HIVE-5526.patch
        0.7 kB
        Remus Rusanu

        Activity

        Remus Rusanu created issue -
        Hide
        Remus Rusanu added a comment -

        Fix by removing the 'transient'

        Show
        Remus Rusanu added a comment - Fix by removing the 'transient'
        Remus Rusanu made changes -
        Field Original Value New Value
        Attachment HIVE-5526.patch [ 12608149 ]
        Remus Rusanu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Hive QA added a comment -

        Overall: +1 all checks pass

        Here are the results of testing the latest attachment:
        https://issues.apache.org/jira/secure/attachment/12608149/HIVE-5526.patch

        SUCCESS: +1 4394 tests passed

        Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1112/testReport
        Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1112/console

        Messages:

        Executing org.apache.hive.ptest.execution.PrepPhase
        Executing org.apache.hive.ptest.execution.ExecutionPhase
        Executing org.apache.hive.ptest.execution.ReportingPhase
        

        This message is automatically generated.

        Show
        Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12608149/HIVE-5526.patch SUCCESS: +1 4394 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1112/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1112/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated.
        Hide
        Brock Noland added a comment -

        +1

        Show
        Brock Noland added a comment - +1
        Hide
        Brock Noland added a comment -

        Thank you very much for the contribution!

        Show
        Brock Noland added a comment - Thank you very much for the contribution!
        Brock Noland made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.13.0 [ 12324986 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-hadoop2-ptest #140 (See https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/140/)
        HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044)

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-hadoop2-ptest #140 (See https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/140/ ) HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044 ) /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-hadoop2 #502 (See https://builds.apache.org/job/Hive-trunk-hadoop2/502/)
        HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044)

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-hadoop2 #502 (See https://builds.apache.org/job/Hive-trunk-hadoop2/502/ ) HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044 ) /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #205 (See https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/205/)
        HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044)

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Show
        Hudson added a comment - SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #205 (See https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/205/ ) HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044 ) /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-h0.21 #2401 (See https://builds.apache.org/job/Hive-trunk-h0.21/2401/)
        HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044)

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-h0.21 #2401 (See https://builds.apache.org/job/Hive-trunk-h0.21/2401/ ) HIVE-5526 - NPE in ConstantVectorExpression.evaluate(vrg) (Remus Rusanu via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532044 ) /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ConstantVectorExpression.java

          People

          • Assignee:
            Remus Rusanu
            Reporter:
            Remus Rusanu
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development