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:36:42 UTC

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

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


   *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] alamb commented on issue #104: From implementations should validate data type

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


   This is a specific case of the general issue described in https://github.com/apache/arrow-rs/issues/817, so closing this one as a duplicate in favor of the more general ticket. 


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-rs] alamb closed issue #104: From implementations should validate data type

Posted by GitBox <gi...@apache.org>.
alamb closed issue #104:
URL: https://github.com/apache/arrow-rs/issues/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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

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



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

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


   Comment from Andrew Lamb(alamb) @ 2021-04-26T12:34:14.453+0000:
   <pre>Migrated to github: https://github.com/apache/arrow-rs/issues/103</pre>


-- 
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