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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 738a0029617 branch-3.0: [chore](inverted index) do not print downgrade 
reason for inverted index try query #45789 (#45814)
738a0029617 is described below

commit 738a0029617fe0861dc6036eb8ea7d43b604d80b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 25 09:42:32 2024 +0800

    branch-3.0: [chore](inverted index) do not print downgrade reason for 
inverted index try query #45789 (#45814)
    
    Cherry-picked from #45789
    
    Co-authored-by: airborne12 <jiang...@selectdb.com>
---
 be/src/olap/rowset/segment_v2/segment_iterator.cpp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp 
b/be/src/olap/rowset/segment_v2/segment_iterator.cpp
index 73f842bb8e6..555f1b9893c 100644
--- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp
+++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp
@@ -836,7 +836,13 @@ bool SegmentIterator::_downgrade_without_index(Status res, 
bool need_remaining)
         //    such as when index segment files are not generated
         // above case can downgrade without index query
         _opts.stats->inverted_index_downgrade_count++;
-        LOG(INFO) << "will downgrade without index to evaluate predicate, 
because of res: " << res;
+        if (!res.is<ErrorCode::INVERTED_INDEX_BYPASS>()) {
+            LOG(INFO) << "will downgrade without index to evaluate predicate, 
because of res: "
+                      << res;
+        } else {
+            VLOG_DEBUG << "will downgrade without index to evaluate predicate, 
because of res: "
+                       << res;
+        }
         return true;
     }
     return false;


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

Reply via email to