[
https://issues.apache.org/jira/browse/AVRO-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414532#comment-17414532
]
ASF subversion and git services commented on AVRO-3134:
-------------------------------------------------------
Commit fe40576cd22e93776e7e48302f4d3358b0b4a4e3 in avro's branch
refs/heads/dependabot/nuget/lang/csharp/System.Reflection.Emit.ILGeneration-4.7.0
from Thiago Froes
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=fe40576 ]
AVRO-3134: Fix ArgumentOutOfRangeException in method ToString of AvroDecimal
The method ToString of class AvroDecimal causes ArgumentOutOfRangeException
when Scale is greater than Unscaled number size.
The method ToString of class AvroDecimal returns a wrong result when Scale
is equal to the Unscaled number size because is missing a "0"
> C#: Method ToString of AvroDecimal causes ArgumentOutOfRangeException
> ---------------------------------------------------------------------
>
> Key: AVRO-3134
> URL: https://issues.apache.org/jira/browse/AVRO-3134
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.10.2
> Reporter: Thiago Froes
> Assignee: Daniel Kulp
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Method ToString of class AvroDecimal causes ArgumentOutOfRangeException when
> Scale is greater than Unscaled number size. Samples:
> * 0.001
> * 0.01
> When Scale as equal as Unscaled number size, the result é wrong, because is
> missing a "0", Sample:
> * 0.1: in this case the result is ".1"
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)