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

AvroReader 'Schema Access Strategy' defaults to 'Use Embedded Avro Schema' but it doesn't use embedded schema by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Extensions
    • None

    Description

      Similar to NIFI-3832, AvroReader uses a PropertyDescriptor defined at SchemaAccessUtil.SCHEMA_ACCESS_STRATEGY which doesn't have a customized default value.

      So, AvroReader shows 'Use Embedded Avro Schema' for 'Schema Access Strategy' by default, but it actually uses 'Use 'Schema Name' Property'.

      This can be problematic with following flow:

      ExecuteSQL -> ConvertRecord (Avro/JSON)
      

      Where ExecuteSQL generates FlowFiles containing embedded Avro schema, but AvroReader doesn't utilize it with initial setting.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: