Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve empty list array elements in take kernel (#3473)
* Update test_take_list to fail with empty list * Fix null_bit_buffer to match intended array comment says: [[0,null,0], [-1,-2,3], null, [5,null]] which implies null buffer of: 0b11111011 * Fix null_bit_buffer to match intended array comment says: [[0,null,0], [-1,-2,3], [null], [5,null]] which has not null values at the list level, or a null buffer of 0b11111011 * Compute null buffer in take_value_indices_from_list this way we can distinguish empty list elements from null elements. * clippy
- Loading branch information
Showing
1 changed file
with
40 additions
and
33 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