[jira] [Resolved] (CARBONDATA-3835) Global sort doesn't sort string columns properly

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

[jira] [Resolved] (CARBONDATA-3835) Global sort doesn't sort string columns properly

Akash R Nilugal (Jira)

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

David Cai resolved CARBONDATA-3835.
-----------------------------------
    Fix Version/s:     (was: 2.0.0)
                   2.0.1
       Resolution: Fixed

> Global sort doesn't sort string columns properly
> ------------------------------------------------
>
>                 Key: CARBONDATA-3835
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3835
>             Project: CarbonData
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Ajantha Bhat
>            Assignee: Ajantha Bhat
>            Priority: Major
>             Fix For: 2.0.1
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> problem:
> For global sort without partition, string comes as byte[], if we  use string comparator (StringSerializableComparator) it wll convert byte[] to toString which gives address and comparision goes wrong.
>  
> solution: change data type to byte before choosing comparator.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)