You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/26 12:34:20 UTC

[GitHub] [arrow-rs] alamb opened a new issue #103: [Rust]: From implementations should validate data type

alamb opened a new issue #103:
URL: https://github.com/apache/arrow-rs/issues/103


   *Note*: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-10078
   
   See [https://github.com/apache/arrow/blob/ac86123a3f013ba1eeac2b66c2ccd00810c67871/rust/arrow/src/array/array.rs#L870]
   
   The implementation currently does not validate that the datatype of the ArrayData argument matches. This can lead to inconsistencies, for example it is possible to create a TimestampMillisecondArray whose datatype reports Float64.
   
   A similar onconsistentcy could arise when trying to convert between types like
   {code:java}
   let keys: Int32Array = dict_array.data().into() {code}
   Here {{keys.data_type()}} would still return {{Dictionary}}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] jorgecarleitao closed issue #103: [Rust]: From implementations should validate data type

Posted by GitBox <gi...@apache.org>.
jorgecarleitao closed issue #103:
URL: https://github.com/apache/arrow-rs/issues/103


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] jorgecarleitao commented on issue #103: [Rust]: From implementations should validate data type

Posted by GitBox <gi...@apache.org>.
jorgecarleitao commented on issue #103:
URL: https://github.com/apache/arrow-rs/issues/103#issuecomment-827152400


   duplicates #104


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org