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

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


The following commit(s) were added to refs/heads/orc-for-doris-21 by this push:
     new 8c0b7f87768 [re-cherry-pick][fix] Load StripeIndex if searchArgument 
not exist when filter is not null. (#330)
8c0b7f87768 is described below

commit 8c0b7f877684c4d2b5745ab271aab900f85c5cee
Author: Qi Chen <[email protected]>
AuthorDate: Tue Jul 15 19:31:56 2025 +0800

    [re-cherry-pick][fix] Load StripeIndex if searchArgument not exist when 
filter is not null. (#330)
    
    * Revert "[fix] Load StripeIndex if searchArgument not exist when filter is 
not null. (#318)"
    
    This reverts commit 9c31ca7e3b8a53bb97923b5e5a9c2e684b331179.
    
    * [re-cherry-pick][fix] Load StripeIndex if searchArgument not exist when 
filter is not null.
---
 c++/src/Reader.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc
index 97784b5f99f..d85955355eb 100644
--- a/c++/src/Reader.cc
+++ b/c++/src/Reader.cc
@@ -1203,6 +1203,11 @@ namespace orc {
           currentRowInStripe = 0;
           continue;
         }
+      } else {
+        if (filter) {
+          // read row group statistics and bloom filters of current stripe
+          loadStripeIndex();
+        }
       }
 
       // get writer timezone info from stripe footer to help understand 
timestamp values.
@@ -1235,11 +1240,6 @@ 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