[
https://issues.apache.org/jira/browse/AVRO-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387952#comment-15387952
]
ASF subversion and git services commented on AVRO-1847:
-------------------------------------------------------
Commit 941187a2295197d9da2d9a865fda41e621813f4e in avro's branch
refs/heads/branch-1.8 from [~Yibing]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=941187a ]
AVRO-1877 restore correct javaUnbox in Specific Compiler.
Time logical types were broken by the patch for AVRO-1847, this
patch restores correct behavior with some minor refactoring to
clean up duplicate code.
Signed-off-by: Sean Busbey <[email protected]>
> 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.4#6332)