Skip to content

Apache DataFusion SQL Query Engine

Minor: Add github link to code that was upstreamed (#12660)

Andrew Lamb810e90802f69
diff --git a/datafusion/common/src/utils/mod.rs b/datafusion/common/src/utils/mod.rs
index 116dab316b..5bf0f08b09 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<Vec<Ident>> {
}
/// Construct a new [`Vec`] of [`ArrayRef`] from the rows of the `arrays` at the `indices`.
+///
+/// TODO: use implementation in arrow-rs when available:
+/// <https://github.com/apache/arrow-rs/pull/6475>
pub fn take_arrays(arrays: &[ArrayRef], indices: &dyn Array) -> Result<Vec<ArrayRef>> {
arrays
.iter()