| 445 | } |
| 446 | |
| 447 | Result<Datum> Take(const Datum& values, const Datum& indices, const TakeOptions& options, |
| 448 | ExecContext* ctx) { |
| 449 | // Invoke metafunction which deals with Datum kinds other than just Array, |
| 450 | // ChunkedArray. |
| 451 | return CallFunction("take", {values, indices}, &options, ctx); |
| 452 | } |
| 453 | |
| 454 | Result<std::shared_ptr<Array>> Take(const Array& values, const Array& indices, |
| 455 | const TakeOptions& options, ExecContext* ctx) { |