Cheng Hao created HIVE-4855:
-------------------------------
Summary: Failed in equality check of PrimitiveTypeInfo after ser/de
Key: HIVE-4855
URL: https://issues.apache.org/jira/browse/HIVE-4855
Project: Hive
Issue Type: Bug
Reporter: Cheng Hao
Priority: Minor
The "equals" method in PrimitiveTypeInfo.java as shown below
/**
* Compare if 2 TypeInfos are the same. We use TypeInfoFactory to cache
* TypeInfos, so we only need to compare the Object pointer.
*/
@Override
public boolean equals(Object other) {
return this == other;
}
But, it may still fails the equality checking of PrimitiveTypeInfo instances,
before and after its de-serialization.
I met that bug as I was trying call the method of
ExprNodeGenericFuncDesc.isSame(Object obj), which are actually 2 de-serialized
instances from the exactly same source, and I always got false.
--
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