[jira] [Resolved] (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] [Resolved] (CARBONDATA-2493) DataType.equals() failes for complex types

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venkata Ramana G resolved CARBONDATA-2493.
------------------------------------------
       Resolution: Fixed
         Assignee: Ajantha Bhat
    Fix Version/s: 1.4.0

> 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
>            Assignee: Ajantha Bhat
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> 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)