alamb commented on PR #13029:
URL: https://github.com/apache/datafusion/pull/13029#issuecomment-2427000620

   > Ugh yeah, I don't know why `arrow-rs` made that choice. To me the 
"physical number of nulls" seems kinda useless. I care about the semantics, not 
the implementation details 😄
   
   The reason is performance -- I agree it is quite confusing. THe rationale is 
that arrow-rs I think tries to let the user have maximal control, but that does 
make the API harder to reason about sometime. 
   
   I tried to clarify this in the docs, but I am also still not happy with how 
easy it is to get confused:
   https://docs.rs/arrow/latest/arrow/array/trait.Array.html#tymethod.nulls


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to