| 284 | } |
| 285 | |
| 286 | Result<std::shared_ptr<Array>> Array::SliceSafe(int64_t offset, int64_t length) const { |
| 287 | ARROW_ASSIGN_OR_RAISE(auto sliced_data, data_->SliceSafe(offset, length)); |
| 288 | return MakeArray(std::move(sliced_data)); |
| 289 | } |
| 290 | |
| 291 | Result<std::shared_ptr<Array>> Array::SliceSafe(int64_t offset) const { |
| 292 | if (offset < 0) { |
nothing calls this directly
no test coverage detected