| 53 | } |
| 54 | |
| 55 | ColumnChunkMetadata uncompressedGetMetadata(PhysicalTypeID dataType, uint64_t numValues, |
| 56 | StorageValue min, StorageValue max) { |
| 57 | auto numPages = 0; |
| 58 | if (getDataTypeSizeInChunk(dataType) > 0) { |
| 59 | const auto numValuesPerPage = Uncompressed::numValues(LBUG_PAGE_SIZE, dataType); |
| 60 | numPages = ceilDiv(numValues, numValuesPerPage); |
| 61 | } |
| 62 | return ColumnChunkMetadata(INVALID_PAGE_IDX, numPages, numValues, |
| 63 | CompressionMetadata(min, max, CompressionType::UNCOMPRESSED)); |
| 64 | } |
| 65 | |
| 66 | ColumnChunkMetadata booleanGetMetadata(uint64_t numValues, StorageValue min, StorageValue max) { |
| 67 | return ColumnChunkMetadata(INVALID_PAGE_IDX, |
no test coverage detected