[
https://issues.apache.org/jira/browse/NIFI-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493489#comment-17493489
]
ASF subversion and git services commented on NIFI-9698:
-------------------------------------------------------
Commit 76ffae424401c878a89ea0319ce593c4ba4a684a in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=76ffae4 ]
NIFI-9698: When creating an Avro schema, ensure that any default value is
converted from what is returned by RecordField.getDefaultValue() to what Avro
requires.
This closes #5776
> When creating avro schema from a RecordSchema, if array field has empty array
> as default, it fails
> --------------------------------------------------------------------------------------------------
>
> Key: NIFI-9698
> URL: https://issues.apache.org/jira/browse/NIFI-9698
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.16.0
>
> Attachments: flow.json
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Reported via Apache Slack, the attached flow results in failing on the
> ScriptedTransformRecord processor when attempting to create the schema for
> the Avro Writer
--
This message was sent by Atlassian Jira
(v8.20.1#820001)