[ 
https://issues.apache.org/jira/browse/NIFI-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010345#comment-16010345
 ] 

ASF subversion and git services commented on NIFI-3895:
-------------------------------------------------------

Commit bc68eb754faefe40238ebd2a101f80430272b0de in nifi's branch 
refs/heads/master from [~ijokarumawak]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=bc68eb7 ]

NIFI-3895: Fixed AvroReader to use Schema Access Strategy default value 
properly.

Signed-off-by: Pierre Villard <pierre.villard...@gmail.com>

This closes #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)

Reply via email to