Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-751

Set DECIMAL precision as schema parameter

    XMLWordPrintable

Details

    Description

      When using a decimal.handling.mode of precise for DECIMAL columns and the Avro converter, the field's schema in the registry will always be 64, ignoring the precision of the source column. This should be avoided by setting the "precision" schema parameter, which is used by AvroData for setting the precision of the resulting Avro schema (see upstream source code).

      Attachments

        Activity

          People

            gunnar.morling Gunnar Morling
            gunnar.morling Gunnar Morling
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: