yiguolei commented on code in PR #60253:
URL: https://github.com/apache/doris/pull/60253#discussion_r2740316952
##########
be/src/olap/comparison_predicate.h:
##########
@@ -139,22 +139,29 @@ class ComparisonPredicateBase final : public
ColumnPredicate {
return false;
}
- T tmp_min_value = get_zone_map_value<Type,
T>(statistic.first->cell_ptr());
- T tmp_max_value = get_zone_map_value<Type,
T>(statistic.second->cell_ptr());
+ using CompareType = std::conditional_t<is_string_type(Type),
StringRef, T>;
Review Comment:
why not use string to compare?
--
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]