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

Commit

Permalink
use mut_validity macro for mutable arrays to define set_validity, app…
Browse files Browse the repository at this point in the history
…ly_validity and with_validity
  • Loading branch information
artem.malyshev committed Mar 17, 2023
1 parent db87f71 commit 91ce393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/it/array/utf8/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ fn test_set_validity() {
#[test]
fn test_apply_validity() {
let mut array = MutableUtf8Array::<i32>::from([Some("Red"), Some("Green"), Some("Blue")]);

array.set_validity(Some([true, true, true].into()));

array.apply_validity(|mut mut_bitmap| {
Expand Down

0 comments on commit 91ce393

Please sign in to comment.