[
https://issues.apache.org/jira/browse/AVRO-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Skraba resolved AVRO-3521.
-------------------------------
Resolution: Fixed
Cherry-picked to
[branch-1.11|https://github.com/apache/avro/commit/b5bd312324d5a47890b3e8a802995f1d0c4346bb].
Thanks for the contribution!
> "Scale" property from decimal object
> ------------------------------------
>
> Key: AVRO-3521
> URL: https://issues.apache.org/jira/browse/AVRO-3521
> Project: Apache Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.10.2
> Reporter: Igor Izvekov
> Assignee: Igor Izvekov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> From [https://avro.apache.org/docs/current/spec.html:]
> - scale, a JSON integer representing the scale (optional). If not
> specified the scale is 0.
> In the "datafile.py" scale greater than or *equal* to 0, but "DatumReader"
> and "DatumWriter" reads/writes values greater than 0 (not equal 0).
--
This message was sent by Atlassian Jira
(v8.20.7#820007)