Skip to content

Commit

Permalink
Minor: Add github link to code that was upstreamed (#12660)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Sep 29, 2024
1 parent 3892499 commit 810e908
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datafusion/common/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 810e908

Please sign in to comment.