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


##########
be/src/olap/rowset/segment_v2/zone_map_index.cpp:
##########
@@ -115,13 +192,11 @@ void 
TypedZoneMapIndexWriter<Type>::invalid_page_zone_map() {
 template <PrimitiveType Type>
 Status TypedZoneMapIndexWriter<Type>::flush() {
     // Update segment zone map.
-    if (_field->compare(_segment_zone_map.min_value, _page_zone_map.min_value) 
> 0) {
-        _field->type_info()->direct_copy_may_cut(_segment_zone_map.min_value,
-                                                 _page_zone_map.min_value);
+    if (_segment_zone_map.min_value.get<Type>() > 
_page_zone_map.min_value.get<Type>()) {

Review Comment:
   这个得判断一下是否 _page_zone_map.has_not_null ??



-- 
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