void HllVal::agg_merge(const HllVal& other) {
    uint8_t* pdata = ptr + 1;
    uint8_t* pdata_other = other.ptr + 1;

    for (int i = 0; i < doris::HLL_REGISTERS_COUNT; ++i) {
        pdata[i] = std::max(pdata[i], pdata_other[i]);
    }
}
void HllVal::agg_merge(const HllVal& other) {
    uint8_t* pdata = ptr + 1;
    uint8_t* pdata_other = other.ptr + 1;

    for (int i = 0; i < doris::HLL_REGISTERS_COUNT; ++i) {
        pdata[i] = std::max(pdata[i], pdata_other[i]);
    }
}