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

Function create_i32_list

datafusion/common/src/utils/mod.rs:1661–1669  ·  view source on GitHub ↗
(
        values: impl Into<Int32Array>,
        offsets: OffsetBuffer<i32>,
        nulls: Option<NullBuffer>,
    )

Source from the content-addressed store, hash-verified

1659 }
1660
1661 fn create_i32_list(
1662 values: impl Into<Int32Array>,
1663 offsets: OffsetBuffer<i32>,
1664 nulls: Option<NullBuffer>,
1665 ) -> ListArray {
1666 let list_field = Arc::new(Field::new_list_field(DataType::Int32, true));
1667
1668 ListArray::new(list_field, offsets, Arc::new(values.into()), nulls)
1669 }
1670
1671 #[test]
1672 fn test_remove_list_null_values_list() {

Callers 1

Calls 2

newFunction · 0.85
intoMethod · 0.45

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…