You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jörn Horstmann (Jira)" <ji...@apache.org> on 2020/09/24 18:13:00 UTC

[jira] [Commented] (ARROW-10082) [Rust]: Return error on mismatching datatypes in json reader

    [ https://issues.apache.org/jira/browse/ARROW-10082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201709#comment-17201709 ] 

Jörn Horstmann commented on ARROW-10082:
----------------------------------------

This was fixed during the implementation of is null/is not null kernels by masking of bits outside the valid range (https://github.com/apache/arrow/pull/8204/files#diff-d7b0b7cde1850e8744ceda458c6dea81)

> [Rust]: Return error on mismatching datatypes in json reader
> ------------------------------------------------------------
>
>                 Key: ARROW-10082
>                 URL: https://issues.apache.org/jira/browse/ARROW-10082
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Jörn Horstmann
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)