Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-10082
See [https://github.com/apache/arrow/blob/f358a29b35a9059c42aa8e6bcdd7a17136f14647/rust/arrow/src/json/reader.rs#L678]
If the schema specifies a different datatype than what is in the file the value gets silently ignored. Instead we should return an error.