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

GenericData does not add Logical Type conversions by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.1
    • None
    • java, logical types
    • 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

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

            Dates

              Created:
              Updated: