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/06/29 11:16:47 UTC

[GitHub] [arrow-rs] tustvold commented on pull request #1963: Fix Dictionary null_count

tustvold commented on PR #1963:
URL: https://github.com/apache/arrow-rs/pull/1963#issuecomment-1169855811

   I don't think this is correct, as @HaoYang670 describes, the null count and validity is only determined by the keys.
   
   If a key is valid, the value of the dictionary is the value of the values array at that index, which **may or may not be null**. This is similar to StructArray or ListArray, where a null can exist either in the parent array or its child.


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