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 2022/01/08 21:06:03 UTC

[GitHub] [arrow-rs] jorgecarleitao commented on issue #1144: Undefined behavior for GenericStringArray::from_iter_values if reported iterator upper bound is incorrect

jorgecarleitao commented on issue #1144:
URL: https://github.com/apache/arrow-rs/issues/1144#issuecomment-1008153443


   > Strangely, I don't understand the usecase of from_iter_values compared to `FromIterator`
   
   I think that `from_iter_values` leverages the invariant that there are no nulls in the iterator (`AsRef<str>`), while `FromIterator` accepts nulls / None. The two APIs are motivated by a significant performance penalty in creating the bitmap from an iterator of options (compared to the cost of an iterator of non-nullable values)
   


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