You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/17 16:32:00 UTC
[jira] [Commented] (AVRO-3521) "Scale" property from decimal object
[ https://issues.apache.org/jira/browse/AVRO-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555687#comment-17555687 ]
ASF subversion and git services commented on AVRO-3521:
-------------------------------------------------------
Commit 659917b08184528999e3307e69fabc6a66fd07b3 in avro's branch refs/heads/master from Igor Izvekov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=659917b08 ]
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 <ry...@skraba.com>
> "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)