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

Function data

datafusion/functions-aggregate/src/array_agg.rs:1606–1612  ·  view source on GitHub ↗
(list: [T; N])

Source from the content-addressed store, hash-verified

1604 }
1605
1606 fn data<T, const N: usize>(list: [T; N]) -> ArrayRef
1607 where
1608 ScalarValue: From<T>,
1609 {
1610 let values: Vec<_> = list.into_iter().map(ScalarValue::from).collect();
1611 ScalarValue::iter_to_array(values).expect("Cannot convert to array")
1612 }
1613
1614 fn merge(
1615 mut acc1: Box<dyn Accumulator>,

Calls 3

collectMethod · 0.80
mapMethod · 0.45
into_iterMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…