diff --git a/be/src/vec/exec/scan/vscan_node.cpp b/be/src/vec/exec/scan/vscan_node.cpp index 258e225a26eb18f..487a9ae44d4c6d6 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 12665ce86da8168..112aa3d1276f504 100644 --- a/regression-test/suites/nereids_arith_p0/decimal.groovy +++ b/regression-test/suites/nereids_arith_p0/decimal.groovy @@ -2309,6 +2309,9 @@ 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 "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