You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2016/08/04 19:11:20 UTC

[jira] [Created] (AVRO-1894) GenericData does not add Logical Type conversions by default

Taras Bobrovytsky created AVRO-1894:
---------------------------------------

             Summary: 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}
GenericData.get().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)