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

AvroTypeUtil.buildAvroSchema() doesn't support enums

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • Extensions
    • None

    Description

      When NiFi builds a new schema from an existing schema (UpdateRecord, e.g.) with an ENUM type, it fails with a NullPointerException. This is because there is no handling for the ENUM type, and the default handling returns null rather than a schema containing the ENUM. A case for ENUM types should be added to support this datatype.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              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 - 20m
                  20m