| 133 | } |
| 134 | |
| 135 | void Column::populateExtraChunkState(SegmentState& state) const { |
| 136 | if (state.metadata.compMeta.compression == CompressionType::ALP) { |
| 137 | if (dataType.getPhysicalType() == PhysicalTypeID::DOUBLE) { |
| 138 | state.alpExceptionChunk = |
| 139 | std::make_unique<InMemoryExceptionChunk<double>>(state, dataFH, mm, shadowFile); |
| 140 | } else if (dataType.getPhysicalType() == PhysicalTypeID::FLOAT) { |
| 141 | state.alpExceptionChunk = |
| 142 | std::make_unique<InMemoryExceptionChunk<float>>(state, dataFH, mm, shadowFile); |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | std::unique_ptr<ColumnChunkData> Column::flushChunkData(const ColumnChunkData& chunkData, |
| 148 | PageAllocator& pageAllocator) { |
no test coverage detected