eldenmoon commented on code in PR #38413:
URL: https://github.com/apache/doris/pull/38413#discussion_r1694436957


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -699,6 +699,11 @@ Status 
SegmentIterator::_get_row_ranges_from_conditions(RowRanges* condition_row
         if (_opts.io_ctx.reader_type == ReaderType::READER_QUERY) {
             RowRanges dict_row_ranges = RowRanges::create_single(num_rows());
             for (auto cid : cids) {
+                if (!_segment->can_apply_predicate_safely(cid,

Review Comment:
   only takes effect when storage type and predicate type ares missmatched 
typically in variant predicates with cast



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