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

caiconghui pushed a commit to branch orc-2.1
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git

commit 38199fffb0c198bc6e385edc6144ea9762c89411
Author: Qi Chen <[email protected]>
AuthorDate: Tue May 27 17:14:55 2025 +0800

    [fix] Load StripeIndex if searchArgument not exist when filter is not null. 
(#318)
---
 c++/src/Reader.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc
index 8ec57dc5b1d..4a5fb8f73b5 100644
--- a/c++/src/Reader.cc
+++ b/c++/src/Reader.cc
@@ -1279,6 +1279,11 @@ namespace orc {
             currentRowInStripe = 0;
             continue;
           }
+        } else {
+          if (filter) {
+            // read row group statistics and bloom filters of current stripe
+            loadStripeIndex();
+          }
         }
       }
 


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

Reply via email to