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

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

commit 7284b6959f1699a3f72acfce16a46c315e424b35
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 85c71a15227..c1bbce33f2f 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