| 417 | } |
| 418 | |
| 419 | Result<Datum> Take(const Datum& values, const Datum& indices, const TakeOptions& options, |
| 420 | ExecContext* ctx) { |
| 421 | // Invoke metafunction which deals with Datum kinds other than just Array, |
| 422 | // ChunkedArray. |
| 423 | return CallFunction("take", {values, indices}, &options, ctx); |
| 424 | } |
| 425 | |
| 426 | Result<std::shared_ptr<Array>> Take(const Array& values, const Array& indices, |
| 427 | const TakeOptions& options, ExecContext* ctx) { |