Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9335

When converting a NiFi Record to an Avro Record, default values in schema are not applied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • Extensions
    • None

    Description

      If we use an Avro Record Writer and specify an explicit schema (via schema registry, schema text, etc.) and that schema has a default value for a field, the produced Avro object does not have the value but instead has a null value.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h