Closed poopoothegorilla closed 4 years ago
Hi @cfgt , I am trying to add the null mask from the Arrow Tensor to the Dense Tensor. I am struggling with the best way to accomplish this for AsFortran
or ColMajor
... is there a preferred way to add support for column-major null mask? Should the AsFortran
option also update the null mask if it exists?
You should probably update AsFortran
with a ...mask
I think all should be good now.
NOTE: the transposeMask
method is now being called on Transpose
... we could keep it this way, but I am unsure if it might change how people are expecting the Transpose
method to work. An alternative is to break it off into a separate method TransposeMask
.
@cfgt what are your thoughts?
Keep it this way. There is no reason why masked tensors should not have their masks transposed. The previous behaviour was a bug
@poopoothegorilla if this is all good please let me know. I'd like to merge this PR
@chewxy this is ready. Thanks for taking a look
This PR adds the ability to convert an Arrow Tensor to a Dense Tensor.
Notes:
FromArrowTensor
function to Dense TensorArrowArray
to keep consistency withArrowTensor
namingWithMask
to includeWithMask
in exampleAsFortran
ConsOpttransposeMask
function for inplace and non-inplace transpose operations