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

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 03e430a4b1758540300483005acbcbca0899ac8d
Author: Qi Chen <kaka11.c...@gmail.com>
AuthorDate: Mon May 27 10:50:09 2024 +0800

    [Configurations](multi-catalog)Fix enable_orc_filter_by_min_max 
functionality, the mistake for #35012. (#35320)
    
    fix bug introduced from  #35012
---
 be/src/vec/exec/format/orc/vorc_reader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/exec/format/orc/vorc_reader.cpp 
b/be/src/vec/exec/format/orc/vorc_reader.cpp
index 27f4b808e02..2402e14814c 100644
--- a/be/src/vec/exec/format/orc/vorc_reader.cpp
+++ b/be/src/vec/exec/format/orc/vorc_reader.cpp
@@ -690,7 +690,7 @@ bool static 
build_search_argument(std::vector<OrcPredicate>& predicates, int ind
 
 bool OrcReader::_init_search_argument(
         std::unordered_map<std::string, ColumnValueRangeType>* 
colname_to_value_range) {
-    if (_enable_filter_by_min_max || colname_to_value_range->empty()) {
+    if ((!_enable_filter_by_min_max) || colname_to_value_range->empty()) {
         return false;
     }
     std::vector<OrcPredicate> predicates;


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

Reply via email to