[
https://issues.apache.org/jira/browse/NIFI-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010347#comment-16010347
]
ASF GitHub Bot commented on NIFI-3895:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/nifi/pull/1797
> AvroReader 'Schema Access Strategy' defaults to 'Use Embedded Avro Schema'
> but it doesn't use embedded schema by default
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-3895
> URL: https://issues.apache.org/jira/browse/NIFI-3895
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.2.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
>
> Similar to NIFI-3832, AvroReader uses a PropertyDescriptor defined at
> SchemaAccessUtil.SCHEMA_ACCESS_STRATEGY which doesn't have a customized
> default value.
> So, AvroReader shows 'Use Embedded Avro Schema' for 'Schema Access Strategy'
> by default, but it actually uses 'Use 'Schema Name' Property'.
> This can be problematic with following flow:
> {code}
> ExecuteSQL -> ConvertRecord (Avro/JSON)
> {code}
> Where ExecuteSQL generates FlowFiles containing embedded Avro schema, but
> AvroReader doesn't utilize it with initial setting.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)