Skip to content

Commit

Permalink
fix BE ut
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktengg committed Nov 8, 2024
1 parent 6a50658 commit 943e758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/functions/random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int64_t>();
}
Expand Down

0 comments on commit 943e758

Please sign in to comment.