HaoYang670 commented on issue #2564: URL: https://github.com/apache/arrow-rs/issues/2564#issuecomment-1225274876
> Dictionaries are a special case, as the value of a null index is undefined, we can't then use it as an index in the values array. Hmm🤔, Why is `Dictionary` a special case? The value under a null mask is always undefined for all kinds of arrays. the processes are somewhat different: For Dictionary, you will get an undefined `key` if `is_valid == false`, and then, you will use this undefined key to get an undefined `value`. For other arrays (such as int8), you will get an undefined value if `is_valid == false`. However, the results are same: You get an `undefined` value. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
