[
https://issues.apache.org/jira/browse/AVRO-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Blue updated AVRO-1894:
----------------------------
Description:
In order to support Decimal fields, the following line needs to be added:
{code}
new GenericData().addLogicalTypeConversion(new Conversions.DecimalConversion());
{code}
It would be more convenient if logical type conversions were added by default.
was:
In order to support Decimal fields, the following line needs to be added:
{code}
GenericData.get().addLogicalTypeConversion(new Conversions.DecimalConversion());
{code}
It would be more convenient if logical type conversions were added by default.
> GenericData does not add Logical Type conversions by default
> ------------------------------------------------------------
>
> Key: AVRO-1894
> URL: https://issues.apache.org/jira/browse/AVRO-1894
> Project: Avro
> Issue Type: Improvement
> Affects Versions: 1.8.1
> Reporter: Taras Bobrovytsky
>
> In order to support Decimal fields, the following line needs to be added:
> {code}
> new GenericData().addLogicalTypeConversion(new
> Conversions.DecimalConversion());
> {code}
> It would be more convenient if logical type conversions were added by default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)