You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Yibing Shi (JIRA)" <ji...@apache.org> on 2016/06/06 14:34:21 UTC
[jira] [Updated] (AVRO-1847) IDL compiler uses ByteBuffer for
decimal type even if logical type is supported
[ https://issues.apache.org/jira/browse/AVRO-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yibing Shi updated AVRO-1847:
-----------------------------
Attachment: AVRO-1847.3.patch
Attach another patch, which fixes the problem where classes generated by IDL compiler cannot be constructed via builder properly.
> IDL compiler uses ByteBuffer for decimal type even if logical type is supported
> --------------------------------------------------------------------------------
>
> Key: AVRO-1847
> URL: https://issues.apache.org/jira/browse/AVRO-1847
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.8.0
> Reporter: Yibing Shi
> Attachments: AVRO-1847.1.patch, AVRO-1847.2.patch, AVRO-1847.3.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.4#6332)