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

Andrey Mashenkov updated IGNITE-24176:
--------------------------------------
    Summary: Sql. Make BinaryTupleComparator using SQL conformed ordering for 
byte strings  (was: Sql. Fix BinaryTupleComparator to use SQL conformed byte 
arrays ordering.)

> Sql. Make BinaryTupleComparator using SQL conformed ordering for byte strings
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-24176
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24176
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Andrey Mashenkov
>            Assignee: Andrey Mashenkov
>            Priority: Blocker
>              Labels: ignite-3
>             Fix For: 3.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As for now, indexes use `Arrays.compare(byte[], byte[])` function, which is 
> signed, for comparing binary strings.
> SQL standard assumes byte strings are compared by octets using unsingned 
> version `Arrays.compareUnsigned(byte[], byte[]).
> The change will affect storage binary compatibility.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to