diff --git a/be/src/vec/functions/random.cpp b/be/src/vec/functions/random.cpp index 817fa5e94b8343f..fb6d9c60a53c4e7 100644 --- a/be/src/vec/functions/random.cpp +++ b/be/src/vec/functions/random.cpp @@ -72,7 +72,7 @@ class Random : public IFunction { if (!context->is_col_constant(0)) { return Status::InvalidArgument("The param of rand function must be literal"); } - int64_t seed = 0; + uint64_t seed = 0; if (!context->get_constant_col(0)->column_ptr->is_null_at(0)) { seed = (*context->get_constant_col(0)->column_ptr)[0].get(); }