This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e77d345e5b [fix] (parquet-reader) Fix parquet all row groups are 
filtered. (#57490)
1e77d345e5b is described below

commit 1e77d345e5bec97c9d97bdc5ddc2a18bc9c152ba
Author: Qi Chen <[email protected]>
AuthorDate: Fri Oct 31 18:02:24 2025 +0800

    [fix] (parquet-reader) Fix parquet all row groups are filtered. (#57490)
---
 be/src/vec/exec/scan/file_scanner.cpp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/be/src/vec/exec/scan/file_scanner.cpp 
b/be/src/vec/exec/scan/file_scanner.cpp
index c0b440fa6f3..cb2377fe613 100644
--- a/be/src/vec/exec/scan/file_scanner.cpp
+++ b/be/src/vec/exec/scan/file_scanner.cpp
@@ -1171,7 +1171,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;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to