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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to