void HllVal::init(FunctionContext* ctx) {
    len = doris::HLL_COLUMN_DEFAULT_LEN;
    ptr = ctx->allocate(len);
    memset(ptr, 0, len);
    // the HLL type is HLL_DATA_FULL in UDF or UDAF
    ptr[0] = doris::HllDataType::HLL_DATA_FULL;

    is_null = false;
}
void HllVal::init(FunctionContext* ctx) {
    len = doris::HLL_COLUMN_DEFAULT_LEN;
    ptr = ctx->allocate(len);
    memset(ptr, 0, len);
     
    ptr[0] = doris::HllDataType::HLL_DATA_FULL;

    is_null = false;
}