[
https://issues.apache.org/jira/browse/HIVE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696594#comment-13696594
]
Hudson commented on HIVE-4798:
------------------------------
Integrated in Hive-trunk-h0.21 #2171 (See
[https://builds.apache.org/job/Hive-trunk-h0.21/2171/])
HIVE-4798 : NPE when we call isSame from an instance of
ExprNodeConstantDesc with null value (Yin Huai via Ashutosh Chauhan) (Revision
1498151)
Result = FAILURE
hashutosh :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1498151
Files :
*
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeConstantDesc.java
> NPE when we call isSame from an instance of ExprNodeConstantDesc with null
> value
> --------------------------------------------------------------------------------
>
> Key: HIVE-4798
> URL: https://issues.apache.org/jira/browse/HIVE-4798
> Project: Hive
> Issue Type: Bug
> Reporter: Yin Huai
> Assignee: Yin Huai
> Priority: Minor
> Fix For: 0.12.0
>
> Attachments: HIVE-4798.txt
>
>
> Take a look at the code
> {code}
> @Override
> public boolean isSame(Object o) {
> if (!(o instanceof ExprNodeConstantDesc)) {
> return false;
> }
> ExprNodeConstantDesc dest = (ExprNodeConstantDesc) o;
> if (!typeInfo.equals(dest.getTypeInfo())) {
> return false;
> }
> if (!value.equals(dest.getValue())) {
> return false;
> }
> return true;
> }
> {\code}
> value is an Object.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira