Skip to content

Commit

Permalink
doc: Clarify take kernel semantics (#6632)
Browse files Browse the repository at this point in the history
* doc: Clarify take kernel behavior

* fix

* Update arrow-select/src/take.rs

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>

---------

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
  • Loading branch information
viirya and tustvold authored Oct 29, 2024
1 parent 55fe847 commit 122a5f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arrow-select/src/take.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ use num::{One, Zero};
///
/// For selecting values by index from multiple arrays see [`crate::interleave`]
///
/// Note that this kernel, similar to other kernels in this crate,
/// will avoid allocating where not necessary. Consequently
/// the returned array may share buffers with the inputs
///
/// # Errors
/// This function errors whenever:
/// * An index cannot be casted to `usize` (typically 32 bit architectures)
Expand Down

0 comments on commit 122a5f4

Please sign in to comment.