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 ddf72ce09a1 [Fix](branch-2.1) fix manual pick with mistake when handling decimal … (#40008) ddf72ce09a1 is described below commit ddf72ce09a179ad3469b326464f130688ff9192c Author: lihangyu <15605149...@163.com> AuthorDate: Wed Aug 28 10:15:52 2024 +0800 [Fix](branch-2.1) fix manual pick with mistake when handling decimal … (#40008) …type introduced by #39843 --- be/src/vec/exec/scan/vscan_node.cpp | 2 +- regression-test/suites/nereids_arith_p0/decimal.groovy | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/be/src/vec/exec/scan/vscan_node.cpp b/be/src/vec/exec/scan/vscan_node.cpp index 258e225a26e..487a9ae44d4 100644 --- a/be/src/vec/exec/scan/vscan_node.cpp +++ b/be/src/vec/exec/scan/vscan_node.cpp @@ -393,7 +393,7 @@ Status VScanNode::_normalize_conjuncts() { continue; } } - init_value_range(slot, slot->type().type); + init_value_range(slot, slot->type()); } get_cast_types_for_variants(); diff --git a/regression-test/suites/nereids_arith_p0/decimal.groovy b/regression-test/suites/nereids_arith_p0/decimal.groovy index 12665ce86da..6f89eb79516 100644 --- a/regression-test/suites/nereids_arith_p0/decimal.groovy +++ b/regression-test/suites/nereids_arith_p0/decimal.groovy @@ -2309,6 +2309,10 @@ suite('nereids_arith_p0_decimal') { `b` DECIMALV3(9, 3) NOT NULL ) DISTRIBUTED BY HASH(a) PROPERTIES("replication_num" = "1"); """ + sql "set experimental_enable_pipeline_x_engine = false" + sql """insert into test_arithmetic_expressions values (1.1, 2.2)""" + sql "select a + b from test_arithmetic_expressions" + sql "set experimental_enable_pipeline_x_engine = true" sql "select a + b from test_arithmetic_expressions" sql """drop table if exists test_arithmetic_expressions""" } \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org