Skip to content

Commit

Permalink
[Bug](RegressionTest) fix regresstion test failed (apache#34466)
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee authored May 7, 2024
1 parent ba6ab11 commit a4fca4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/functions/round.h
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ class FunctionRounding : public IFunction {
res = Dispatcher<FieldType, rounding_mode, tie_breaking_mode>::apply_vec_const(
col_general, scale_arg);

if (arguments.size() == 2 && is_col_general_const) {
if (is_col_general_const) {
// Important, make sure the result column has the same size as the input column
res = ColumnConst::create(std::move(res), input_rows_count);
}
Expand Down

0 comments on commit a4fca4e

Please sign in to comment.