Skip to content
Merged
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
8 changes: 7 additions & 1 deletion be/src/vec/exec/scan/file_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,13 @@ Status FileScanner::_get_next_reader() {
// to filter the row group. But if this is count push down, the offset is undefined,
// causing incorrect row group filter and may return empty result.
} else {
RETURN_IF_ERROR(_set_fill_or_truncate_columns(need_to_get_parsed_schema));
Status status = _set_fill_or_truncate_columns(need_to_get_parsed_schema);
if (status.is<END_OF_FILE>()) { // all parquet row groups are filtered
continue;
} else if (!status.ok()) {
return Status::InternalError("failed to set_fill_or_truncate_columns, err: {}",
status.to_string());
}
}
_cur_reader_eof = false;
break;
Expand Down
Loading