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

Ryan Skraba updated AVRO-4210:
------------------------------
    Description: 
A regression/changed behaviour in 1.12.1 -- we should be using 
Arrays.compareUnsigned

When we merged AVRO-4045 and https://github.com/apache/avro/pull/3126/files to 
use the JDK method to compare bytes, signed/unsigned changed how these methods 
behaved.


  was:
A regression/changed behaviour in 1.12.1 

When we merged AVRO-4045 and https://github.com/apache/avro/pull/3126/files to 
use the JDK method to compare bytes, signed/unsigned changed how these methods 
behaved.



> BinaryData.compareBytes should treat bytes as unsigned
> ------------------------------------------------------
>
>                 Key: AVRO-4210
>                 URL: https://issues.apache.org/jira/browse/AVRO-4210
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.12.1
>            Reporter: Ryan Skraba
>            Priority: Major
>
> A regression/changed behaviour in 1.12.1 -- we should be using 
> Arrays.compareUnsigned
> When we merged AVRO-4045 and https://github.com/apache/avro/pull/3126/files 
> to use the JDK method to compare bytes, signed/unsigned changed how these 
> methods behaved.



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

Reply via email to