This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 561c6a752da [Bug](RegressionTest) fix regresstion test failed (#34466)
561c6a752da is described below
commit 561c6a752da79d59c867ce40e4840c372d8a666f
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]