[
https://issues.apache.org/jira/browse/AVRO-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555694#comment-17555694
]
ASF subversion and git services commented on AVRO-3521:
-------------------------------------------------------
Commit b5bd312324d5a47890b3e8a802995f1d0c4346bb in avro's branch
refs/heads/branch-1.11 from Igor Izvekov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=b5bd31232 ]
AVRO-3521: "Scale" property from decimal object (#1689)
* AVRO-3521
* Fixed style for "AVRO-3521"
* Changed from 'a positive integer' to 'a non-negative integer' (by
RyanSkraba's improvement).
* Update error message in test
Co-authored-by: Ryan Skraba <[email protected]>
> "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)