yiguolei commented on code in PR #51271:
URL: https://github.com/apache/doris/pull/51271#discussion_r2119328489


##########
be/src/olap/rowset/segment_v2/column_reader.cpp:
##########
@@ -829,6 +817,68 @@ Status ColumnReader::new_struct_iterator(ColumnIterator** 
iterator,
     return Status::OK();
 }
 
+Status ColumnReader::merge_zone_maps(const std::vector<ZoneMapPB>& zone_maps,
+                                     const FieldType field_type, const int32_t 
field_length,
+                                     ZoneMapPB& zone_map) {
+    std::unique_ptr<WrapperField> min_value, max_value;
+    for (const auto& zone_map_ : zone_maps) {
+        if (zone_map_.has_pass_all() && zone_map_.pass_all()) {
+            zone_map.set_pass_all(true);
+            break;
+        }
+
+        if (zone_map_.has_has_null() && zone_map_.has_null()) {
+            zone_map.set_has_null(true);

Review Comment:
   这里也是



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to