[
https://issues.apache.org/jira/browse/NIFI-12376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786511#comment-17786511
]
ASF subversion and git services commented on NIFI-12376:
--------------------------------------------------------
Commit 685c6861b3aa23fff56607bc4732c11e3a5680cc in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=685c6861b3 ]
NIFI-12376: Fix logic error with bitwise operator in AvroReader
Signed-off-by: Pierre Villard <[email protected]>
This closes #8034.
> Logic error in AvroReader
> -------------------------
>
> Key: NIFI-12376
> URL: https://issues.apache.org/jira/browse/NIFI-12376
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.latest, 2.latest
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There is a logic error in AvroReader.createRecordReader() where a "bitwise
> and" operator is used where a "logical and" operator should be used instead.
> It's an edge case to get it to surface, you have to be using AvroReader with
> a schema registry that does not return a Schema Format (rather than the usual
> configuration of using the schema embedded in the Avro file).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)