Andre F de Miranda created NIFI-4140:
----------------------------------------

             Summary: InferAvroSchema and ConvertJSONToAvro struggle to handle 
attributes names containing dots 
                 Key: NIFI-4140
                 URL: https://issues.apache.org/jira/browse/NIFI-4140
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Andre F de Miranda


The AVRO documentation states:

Primitive type names have no namespace and their names may not be defined in 
any namespace.
https://avro.apache.org/docs/1.8.1/spec.html#names

This means that a simple flow like:

ListenSyslog (parsed) -> AttributesToJson -> ConvertJSONToAvro

Cannot work.

Instead the DFM must use ExecuteScript or UpdateAttribute or JoltTransformJSON 
to normalise the flow content prior to transform the data into AVRO records.

It would be great to have out of the box functionality around this



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to