-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly set bitmask size in from_column_view
An empty struct column (dtype of StructDtype({})) has no children, and hence a base_size of zero. However, it may still have a non-zero size and non-empty null mask. When slicing such a column, the mask size must be transferred over correctly by inspecting the size and offset of the owning column. Previously, we incorrectly determined the sliced column to have a mask buffer of zero bytes in this case. Closes #13305.
- Loading branch information
Showing
2 changed files
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters