Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Given this input record
{ "numbers":[{"foo":1},"2",3,"ASD"] }
and this Avro schema
{ "name": "MyClass", "type": "record", "namespace": "com.acme.avro", "fields": [ { "name": "numbers", "type": { "type": "array", "items": "int" } } ] }
Expected Results
I would expect the record to fail validation even with strict type checking turned off. Because the content of the array cannot all be treated as an integer.
Actual Results
The record gets routed a flowfile on the success relationship.
Attachments
Issue Links
- links to