Peter Gyori created NIFI-8622:
---------------------------------
Summary: AvroReader not reading Decimal values correctly when avro
file with no embedded schema is parsed
Key: NIFI-8622
URL: https://issues.apache.org/jira/browse/NIFI-8622
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Reporter: Peter Gyori
Assignee: Peter Gyori
Attachments: Schemaless_Avro_Decimal_Issue_template.xml
When there are multiple records in a FlowFile, and there is a field in these
records of type Decimal ("type": "bytes", "logicalType": "decimal") and the
FlowFile is converted to Avro with AvroRecordSetWriter's property "Schema Write
Strategy" set to "Do not write schema", then when this avro file is parsed with
AvroReader (Schema access strategy set to "Use 'Schema Text' Property" and
schema explicitly provided) some decimal values get assigned random values.
Template attached to reproduce the issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)