This is an automated email from the ASF dual-hosted git repository.
gabriellee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new a4fca4e0a04 [Bug](RegressionTest) fix regresstion test failed (#34466)
a4fca4e0a04 is described below
commit a4fca4e0a048699ec4eb15d82d068e6200c72ae5
Author: HappenLee <[email protected]>
AuthorDate: Tue May 7 15:55:52 2024 +0800
[Bug](RegressionTest) fix regresstion test failed (#34466)
---
be/src/vec/functions/round.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/functions/round.h b/be/src/vec/functions/round.h
index 70d41bc5fe0..97a81f644ed 100644
--- a/be/src/vec/functions/round.h
+++ b/be/src/vec/functions/round.h
@@ -720,7 +720,7 @@ public:
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);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]