Skip to content

Commit 02079c2

Browse files
committed
[Exec](scan) set not null in parse zone map if zone map not init
1 parent d86daef commit 02079c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

be/src/olap/rowset/segment_v2/column_reader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,9 @@ Status ColumnReader::_parse_zone_map(const ZoneMapPB& zone_map, WrapperField* mi
534534
WrapperField* max_value_container) const {
535535
// min value and max value are valid if has_not_null is true
536536
if (zone_map.has_not_null()) {
537+
min_value_container->set_not_null();
538+
max_value_container->set_not_null();
539+
537540
if (zone_map.has_negative_inf()) {
538541
if (FieldType::OLAP_FIELD_TYPE_FLOAT == _meta_type) {
539542
static auto constexpr float_neg_inf = -std::numeric_limits<float>::infinity();

0 commit comments

Comments
 (0)