HappenLee commented on code in PR #64165:
URL: https://github.com/apache/doris/pull/64165#discussion_r3447836916
##########
be/src/exec/operator/olap_scan_operator.cpp:
##########
@@ -54,6 +55,50 @@
namespace doris {
+namespace {
+
+constexpr int64_t MAX_PROFILE_KEY_RANGES = 32;
+
+int64_t key_range_count(const std::vector<std::unique_ptr<OlapScanRange>>&
ranges) {
Review Comment:
应该添加注释:/// Count the number of real key ranges (excluding full-scan
placeholders).
/// A key range is considered "real" if it has a lower bound, which implies
/// it also has an upper bound (they are always set together).
--
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]