MCPcopy Create free account
hub / github.com/apache/datafusion / combine_input_nulls

Function combine_input_nulls

datafusion/functions-nested/src/extract.rs:599–611  ·  view source on GitHub ↗

Combine null bitmaps from all slice inputs into a single mask.

(
    array: &dyn Array,
    from_array: &Int64Array,
    to_array: &Int64Array,
    stride: Option<&Int64Array>,
)

Source from the content-addressed store, hash-verified

597
598/// Combine null bitmaps from all slice inputs into a single mask.
599fn combine_input_nulls(
600 array: &dyn Array,
601 from_array: &Int64Array,
602 to_array: &Int64Array,
603 stride: Option<&Int64Array>,
604) -> Option<NullBuffer> {
605 NullBuffer::union_many([
606 array.nulls(),
607 from_array.nulls(),
608 to_array.nulls(),
609 stride.and_then(|s| s.nulls()),
610 ])
611}
612
613fn general_array_slice<O: OffsetSizeTrait>(
614 array: &GenericListArray<O>,

Callers 2

general_array_sliceFunction · 0.85

Calls 1

nullsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…