Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions be/src/exec/scan/olap_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ Status OlapScanner::prepare() {
return false;
}

// If `delete_predicates` is not empty, will merge the columns in delete predicate into current tablet schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why???

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

if (!_tablet_reader_params.delete_predicates.empty()) {
return false;
}

const bool has_pruned_column =
std::ranges::any_of(_output_tuple_desc->slots(), [](const auto& slot) {
if ((slot->type()->get_primitive_type() == PrimitiveType::TYPE_STRUCT ||
Expand Down
Loading