[
https://issues.apache.org/jira/browse/NIFI-9721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496968#comment-17496968
]
ASF subversion and git services commented on NIFI-9721:
-------------------------------------------------------
Commit ab4cadc20444bc6c1539ae1806f3747552cac8cb in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ab4cadc ]
NIFI-9721: Support enum types in AvroTypeUtil.buildAvroSchema()
Signed-off-by: Joe Gresock <[email protected]>
This closes #5793.
> AvroTypeUtil.buildAvroSchema() doesn't support enums
> ----------------------------------------------------
>
> Key: NIFI-9721
> URL: https://issues.apache.org/jira/browse/NIFI-9721
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.16.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)