Dominik Przybysz created NIFI-7882:
--------------------------------------

             Summary: Null as default value in avro generates exception
                 Key: NIFI-7882
                 URL: https://issues.apache.org/jira/browse/NIFI-7882
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.12.1
            Reporter: Dominik Przybysz


When I have a record without value for fields, then missing fields will be 
populated with default values from schema. It was added in 
https://issues.apache.org/jira/browse/NIFI-4030

But when null is default value then avro 1.8.1 returns 
org.apache.avro.JsonProperties$Null which cannot be converted to null value 
(the issue in avro is described in 
https://issues.apache.org/jira/browse/AVRO-1954)

Probably Apache Nifi should upgrade to newer avro or backport the fix from avro 
1.9.x to AvroTypeUtil



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to