Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1894

GenericData does not add Logical Type conversions by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: java, logical types
    • Labels:
      None

      Description

      In order to support Decimal fields, the following line needs to be added:

      new GenericData().addLogicalTypeConversion(new Conversions.DecimalConversion());
      

      It would be more convenient if logical type conversions were added by default.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tarasbob Taras Bobrovytsky
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: