| 9 | namespace storage { |
| 10 | |
| 11 | void ColumnChunkStats::update(const ColumnChunkData& data, uint64_t offset, uint64_t numValues, |
| 12 | common::PhysicalTypeID physicalType) { |
| 13 | const bool isStorageValueType = |
| 14 | common::TypeUtils::visit(physicalType, []<typename T>(T) { return StorageValueType<T>; }); |
| 15 | if (isStorageValueType || physicalType == common::PhysicalTypeID::INTERNAL_ID) { |
| 16 | auto [minVal, maxVal] = getMinMaxStorageValue(data, offset, numValues, physicalType); |
| 17 | update(minVal, maxVal, physicalType); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | void ColumnChunkStats::update(const common::ValueVector& data, uint64_t offset, uint64_t numValues, |
| 22 | common::PhysicalTypeID physicalType) { |
no test coverage detected