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

huajianlan pushed a commit to branch nested_column_prune
in repository https://gitbox.apache.org/repos/asf/doris.git

commit cd95b8eed1d04bdd41f5f98023f560744a9c06e7
Author: Hu Shenggang <[email protected]>
AuthorDate: Thu Oct 30 15:52:24 2025 +0800

    fix be ut
---
 be/src/olap/iterators.h                         | 3 ---
 be/src/olap/rowset/segment_v2/column_reader.cpp | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/be/src/olap/iterators.h b/be/src/olap/iterators.h
index 1b63aad4909..783e057d753 100644
--- a/be/src/olap/iterators.h
+++ b/be/src/olap/iterators.h
@@ -46,9 +46,6 @@ struct IteratorRowRef;
 namespace segment_v2 {
 struct SubstreamIterator;
 }
-
-using TColumnAccessPaths = std::vector<TColumnAccessPath>;
-
 class StorageReadOptions {
 public:
     struct KeyRange {
diff --git a/be/src/olap/rowset/segment_v2/column_reader.cpp 
b/be/src/olap/rowset/segment_v2/column_reader.cpp
index d825423c1ab..0cecd06e60e 100644
--- a/be/src/olap/rowset/segment_v2/column_reader.cpp
+++ b/be/src/olap/rowset/segment_v2/column_reader.cpp
@@ -1329,7 +1329,7 @@ Status StructFileColumnIterator::set_access_paths(
 
         if (!no_predicate_sub_column) {
             for (const auto& paths : sub_predicate_access_paths) {
-                if (!StringCaseEqual()(paths.data_access_path.path[0], name)) {
+                if (StringCaseEqual()(paths.data_access_path.path[0], name)) {
                     sub_predicate_access_paths_of_this.emplace_back(paths);
                 }
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to