[ 
https://issues.apache.org/jira/browse/AVRO-2677?focusedWorklogId=654426&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-654426
 ]

ASF GitHub Bot logged work on AVRO-2677:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/21 09:34
            Start Date: 23/Sep/21 09:34
    Worklog Time Spent: 10m 
      Work Description: tjwp commented on pull request #918:
URL: https://github.com/apache/avro/pull/918#issuecomment-925650287


   #1102 was merged


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 654426)
    Time Spent: 20m  (was: 10m)

> Decimal logical type don't serialize precision and scale in Ruby
> ----------------------------------------------------------------
>
>                 Key: AVRO-2677
>                 URL: https://issues.apache.org/jira/browse/AVRO-2677
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: ruby
>            Reporter: Sergey Toy
>            Assignee: Sergey Toy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> {code:java}
> payload = '{ "type": "bytes", "logicalType": "decimal", "precision": 9, 
> "scale": 2 }'
> result = Avro::Schema.real_parse(JSON.parse(payload))
> result.to_avro # => {"type"=>"bytes", "logicalType"=>"decimal"}{code}
>  
> Should be
> {code:java}
> {"type"=>"bytes", "logicalType"=>"decimal", "precision"=>9, "scale"=>2}{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to