[jira] [Created] (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] [Created] (CARBONDATA-3835) Global sort doesn't sort string columns properly

Akash R Nilugal (Jira)
Ajantha Bhat created CARBONDATA-3835:
----------------------------------------

             Summary: 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
             Fix For: 2.0.0


problem:

For global sort without partition, string comes as byte[], if we  use string comparator (StringSerializableComparator) it wll convert to tobytes() 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)