jorisvandenbossche commented on pull request #10272:
URL: https://github.com/apache/arrow/pull/10272#issuecomment-836283202


   If we add such a `mask` keyword, I would say that it should match the `mask` 
keyword of `pa.array(..)` (and thus being an inverted mask, and not the 
validity mask as used internally). 
   
   That means always some conversion of the data is needed (to invert the 
mask), and you cannot create a StructArray 100% cheaply from existing arrays 
with `from_arrays`, but for such a case you can still use `from_buffers` if you 
want.
   
   


-- 
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:
[email protected]


Reply via email to