[jira] [Created] (CARBONDATA-2493) DataType.equals() failes for complex types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-2493) DataType.equals() failes for complex types

Akash R Nilugal (Jira)
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)