Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust]: Return error on mismatching datatypes in json reader #105

Open
alamb opened this issue Apr 26, 2021 · 1 comment
Open

[Rust]: Return error on mismatching datatypes in json reader #105

alamb opened this issue Apr 26, 2021 · 1 comment
Labels
arrow Changes to the arrow crate

Comments

@alamb
Copy link
Contributor

alamb commented Apr 26, 2021

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.

@alamb alamb added the arrow Changes to the arrow crate label Apr 26, 2021
@alamb
Copy link
Contributor Author

alamb commented Apr 26, 2021

Comment from Jörn Horstmann(jhorstmann) @ 2020-09-24T18:17:39.428+0000:

Accidentally closed the wrong ticket as "fixed by"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

No branches or pull requests

1 participant