| 580 | } |
| 581 | |
| 582 | inline ArrayVector GetPhysicalChunks(const ArrayVector& chunks, |
| 583 | const std::shared_ptr<DataType>& physical_type) { |
| 584 | ArrayVector physical(chunks.size()); |
| 585 | std::transform(chunks.begin(), chunks.end(), physical.begin(), |
| 586 | [&](const std::shared_ptr<Array>& array) { |
| 587 | return GetPhysicalArray(*array, physical_type); |
| 588 | }); |
| 589 | return physical; |
| 590 | } |
| 591 | |
| 592 | inline ArrayVector GetPhysicalChunks(const ChunkedArray& chunked_array, |
| 593 | const std::shared_ptr<DataType>& physical_type) { |
no test coverage detected