Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Update src/compute/substring.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Leitao <[email protected]>
  • Loading branch information
ritchie46 and jorgecarleitao authored Nov 4, 2021
1 parent a51ef15 commit 4851f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute/substring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn utf8_substring<O: Offset>(array: &Utf8Array<O>, start: O, length: &Option<O>)
});

let new = Utf8Array::<O>::from_trusted_len_values_iter(iter);
new.with_validity(array.validity().map(|x| x.clone()))
new.with_validity(array.validity().cloned())
}

fn binary_substring<O: Offset>(
Expand Down

0 comments on commit 4851f34

Please sign in to comment.