Skip to content

Commit

Permalink
refactor(rust): Fix new-streaming test_parquet::test_complex_types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Sep 20, 2024
1 parent b7e5e09 commit b6263e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/polars-arrow/src/array/fixed_size_list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ impl Splitable for FixedSizeListArray {
unsafe fn _split_at_unchecked(&self, offset: usize) -> (Self, Self) {
let (lhs_values, rhs_values) =
unsafe { self.values.split_at_boxed_unchecked(offset * self.size) };
let (lhs_validity, rhs_validity) =
unsafe { self.validity.split_at_unchecked(offset * self.size) };
let (lhs_validity, rhs_validity) = unsafe { self.validity.split_at_unchecked(offset) };

let size = self.size;

Expand Down

0 comments on commit b6263e2

Please sign in to comment.