MCPcopy Create free account
hub / github.com/apache/arrow-rs / replace_array_nulls

Function replace_array_nulls

arrow-row/src/lib.rs:4665–4675  ·  view source on GitHub ↗
(array: ArrayRef, new_nulls: Option<NullBuffer>)

Source from the content-addressed store, hash-verified

4663 }
4664
4665 fn replace_array_nulls(array: ArrayRef, new_nulls: Option<NullBuffer>) -> ArrayRef {
4666 make_array(
4667 array
4668 .into_data()
4669 .into_builder()
4670 // Replace the nulls
4671 .nulls(new_nulls)
4672 .build()
4673 .unwrap(),
4674 )
4675 }
4676
4677 fn assert_same_rows_when_changing_input_underlying_null_values(
4678 arrays: &[ArrayRef],

Callers 1

fuzz_testFunction · 0.85

Calls 5

make_arrayFunction · 0.50
buildMethod · 0.45
nullsMethod · 0.45
into_builderMethod · 0.45
into_dataMethod · 0.45

Tested by

no test coverage detected