| 243 | } |
| 244 | |
| 245 | Result<std::shared_ptr<ChunkedArray>> ChunkedArray::View( |
| 246 | const std::shared_ptr<DataType>& type) const { |
| 247 | ArrayVector out_chunks(this->num_chunks()); |
| 248 | for (int i = 0; i < this->num_chunks(); ++i) { |
| 249 | ARROW_ASSIGN_OR_RAISE(out_chunks[i], chunks_[i]->View(type)); |
| 250 | } |
| 251 | return std::make_shared<ChunkedArray>(std::move(out_chunks), type); |
| 252 | } |
| 253 | |
| 254 | std::string ChunkedArray::ToString() const { |
| 255 | std::stringstream ss; |
nothing calls this directly
no test coverage detected