Andrey Mashenkov created IGNITE-24176:
-----------------------------------------

             Summary: Sql. Fix BinaryTupleComparator to use SQL conformed byte 
arrays ordering.
                 Key: IGNITE-24176
                 URL: https://issues.apache.org/jira/browse/IGNITE-24176
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Andrey Mashenkov
             Fix For: 3.0


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