TsukiokaKogane commented on code in PR #65973:
URL: https://github.com/apache/doris/pull/65973#discussion_r3654312469
##########
be/src/exec/operator/olap_scan_operator.cpp:
##########
@@ -512,6 +512,13 @@ bool OlapScanLocalState::_is_key_column(const std::string&
key_name) {
return res != p._olap_scan_node.key_column_name.end();
}
+bool OlapScanLocalState::can_push_down_column_predicate(const SlotDescriptor*
slot) {
+ // The Operator-level method handles static column capabilities. The
LocalState-level
+ // condition additionally handles the current scan range's binlog merge
mode.
+ return Base::can_push_down_column_predicate(slot) &&
+ (!_is_binlog_merge_scan() || _is_key_column(slot->col_name()));
Review Comment:
i think upgrade compatibility is not necessary at this point
--
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]