avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijayakumar Ramachandran"<vijayp...@gmail.com>
Subject Re: [jira] [Commented] (AVRO-1847) IDL compiler should use BigDecimal to represent decimal logical type.
Date Mon, 03 Apr 2017 01:11:10 GMT


On 2017-04-01 09:19 (-0400), "Vijayakumar Ramachandran (JIRA)" <jira@apache.org> wrote:

> 
>     [ https://issues.apache.org/jira/browse/AVRO-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952221#comment-15952221
] 
> 
> Vijayakumar Ramachandran commented on AVRO-1847:
> ------------------------------------------------
> 
> Hi Yibing Shi, 
> 
> I'm using Big Decimal data types in my schema and need to generate Java files with Big
Decimal types. I understand this was not working until 1.8.1 and has been fixed as a patch
and will be released part of 1.8.2.
> 
> II'm awaiting for the 1.8.2 to be released and kindly let me know the release date for
1.8.2
> 
> Also kindly advise if I can get the avro-tools-1.8.2.jar before the release for testing
purpose.
> 
> Appreciate your quick reply. 
> 
> Thanks and Regards
> VIjayakumar Ramachandran
> 
> > IDL compiler should use BigDecimal to represent decimal logical type.
> > ---------------------------------------------------------------------
> >
> >                 Key: AVRO-1847
> >                 URL: https://issues.apache.org/jira/browse/AVRO-1847
> >             Project: Avro
> >          Issue Type: New Feature
> >          Components: java
> >    Affects Versions: 1.8.0
> >            Reporter: Yibing Shi
> >            Assignee: Yibing Shi
> >             Fix For: 1.9.0, 1.8.2
> >
> >         Attachments: AVRO-1847.1.patch, AVRO-1847.2.patch, AVRO-1847.3.patch, AVRO-1847.4.patch,
AVRO-1847.5.patch, AVRO-1847.6.patch, AVRO-1847.7.patch, AVRO-1847.8.patch
> >
> >
> > Version 1.8.0 has added the support of logical types. A conversion class (Conversions.DecimalConversion)
has also been added for decimal type. However, the IDL compiler still uses ByteBuffer for
decimal types, which is not the same behaviour as data, time or timestamp type (added in AVRO-1684).

> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)
> This issue has been fixed in 1.8.2 almost a year ago but not yet released. Support for
Big Decimal is critical in one of the interfacing component I'm developing and I wonder if
someone can share the info when it will be released. I'm looking for this fixed version 1.8.2
(or) the jar archive having this fix. Can anyone help me on this.

Thanks and Regards
Vijayakumar Ramachandran

Mime
View raw message