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

Ryan Skraba updated AVRO-4162:
------------------------------
    Fix Version/s: 1.13.0
                   1.12.2

> C# AvroDecimal.CompareTo claims 1.55 > 2.5
> ------------------------------------------
>
>                 Key: AVRO-4162
>                 URL: https://issues.apache.org/jira/browse/AVRO-4162
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.12.0
>            Reporter: Kalle Niemitalo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0, 1.12.2
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{new AvroDecimal(unscaledValue: 155, scale: 2).CompareTo(new 
> AvroDecimal(unscaledValue: 25, scale: 1))}} returns 1, but it should return a 
> negative number because 1.55 < 2.5.



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

Reply via email to