You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajantha Bhat (JIRA)" <ji...@apache.org> on 2018/05/18 08:33:00 UTC
[jira] [Created] (CARBONDATA-2493) DataType.equals() failes for
complex types
Ajantha Bhat created CARBONDATA-2493:
----------------------------------------
Summary: DataType.equals() failes for complex types
Key: CARBONDATA-2493
URL: https://issues.apache.org/jira/browse/CARBONDATA-2493
Project: CarbonData
Issue Type: Bug
Reporter: Ajantha Bhat
Only object comparision happens for DataTYpe.equals complex type are not singleton objects, So, even the data types are same, compare returns false
One of place I found issue is in ColumnSchema.equals()
} {color:#000080}else if {color}(!{color:#660e7a}dataType{color}.equals(other.{color:#660e7a}dataType{color})) {
{color:#000080}return false{color};
}
That check will fail.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)