diff --git a/be/src/vec/exec/scan/vscan_node.cpp b/be/src/vec/exec/scan/vscan_node.cpp index 258e225a26eb18..487a9ae44d4c6d 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 12665ce86da816..6f89eb795166f6 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