morningman commented on code in PR #47025:
URL: https://github.com/apache/doris/pull/47025#discussion_r1917936240
##########
be/src/vec/exec/scan/vfile_scanner.cpp:
##########
@@ -752,6 +831,16 @@ Status VFileScanner::_get_next_reader() {
const TFileRangeDesc& range = _current_range;
_current_range_path = range.path;
+ // runtime filter partition pruning
+ // so we need get partition columns first
+ RETURN_IF_ERROR(_generate_parititon_columns());
+ bool can_filter_all = false;
+
RETURN_IF_ERROR(_process_runtime_filters_partition_pruning(can_filter_all));
+ if (can_filter_all) {
+ _cur_reader = EmptyBlockReader::create_unique();
Review Comment:
I think we can just `continue` to try open next reader?
--
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]