You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "David Cai (Jira)" <ji...@apache.org> on 2020/05/31 14:57:00 UTC

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

     [ 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)