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

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


The following commit(s) were added to refs/heads/orc by this push:
     new c9891b33063 [opt] Load StripeIndex if searchArgument not exist when 
filter is not null. (#302)
c9891b33063 is described below

commit c9891b33063b32c72f3db6c61b6b59ba65444aee
Author: Qi Chen <che...@selectdb.com>
AuthorDate: Wed Apr 2 17:38:22 2025 +0800

    [opt] Load StripeIndex if searchArgument not exist when filter is not null. 
(#302)
---
 c++/src/Reader.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc
index d3b7ad0e2e6..a44398b5d5d 100644
--- a/c++/src/Reader.cc
+++ b/c++/src/Reader.cc
@@ -1237,8 +1237,10 @@ namespace orc {
           continue;
         }
       } else {
-        // read row group statistics and bloom filters of current stripe
-        loadStripeIndex();
+        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.


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

Reply via email to