You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2024/11/20 20:18:00 UTC
[jira] [Resolved] (NIFI-4140) InferAvroSchema and ConvertJSONToAvro struggle to handle attributes names containing dots
[ https://issues.apache.org/jira/browse/NIFI-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess resolved NIFI-4140.
--------------------------------
Resolution: Won't Fix
Those processors are deprecated/removed and we have since upgraded the version of Avro we use. Please feel free to reopen this case if necessary.
> 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
> Priority: Major
>
> 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
(v8.20.10#820010)