diff --git a/datafusion/common/src/utils/mod.rs b/datafusion/common/src/utils/mod.rs index 116dab316bf5..5bf0f08b092a 100644 --- a/datafusion/common/src/utils/mod.rs +++ b/datafusion/common/src/utils/mod.rs @@ -291,6 +291,9 @@ pub(crate) fn parse_identifiers(s: &str) -> Result> { } /// Construct a new [`Vec`] of [`ArrayRef`] from the rows of the `arrays` at the `indices`. +/// +/// TODO: use implementation in arrow-rs when available: +/// pub fn take_arrays(arrays: &[ArrayRef], indices: &dyn Array) -> Result> { arrays .iter()