[ 
https://issues.apache.org/jira/browse/NIFI-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-3895.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

> 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
>             Fix For: 1.3.0
>
>
> 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)

Reply via email to