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 6324006ef23 [Fix] Fix https://github.com/apache/doris-thirdparty/pull/257 compile issue. 6324006ef23 is described below commit 6324006ef2398cb3c19f8d00f61f569974d7f37c Author: Qi Chen <che...@selectdb.com> AuthorDate: Wed Nov 27 23:09:09 2024 +0800 [Fix] Fix https://github.com/apache/doris-thirdparty/pull/257 compile issue. --- c++/src/Reader.cc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc index d721867622e..b8e1a914215 100644 --- a/c++/src/Reader.cc +++ b/c++/src/Reader.cc @@ -321,26 +321,6 @@ namespace orc { // Map columnNames to ColumnIds buildTypeNameIdMap(contents->schema.get()); - std::unordered_set<int> filterColIds; - if (!filterCols.empty()) { - for (auto& colName : filterCols) { - auto iter = nameTypeMap.find(colName); - if (iter != nameTypeMap.end()) { - Type* type = iter->second; - while (type != nullptr) { - if (type->getSubtypeCount() == 0) { - type->setReaderCategory(ReaderCategory::FILTER_CHILD); - } else { - type->setReaderCategory(ReaderCategory::FILTER_PARENT); - } - filterColIds.emplace(type->getColumnId()); - type = type->getParent(); - } - } else { - throw ParseError("Invalid column selected " + colName); - } - } - std::unordered_set<int> filterColIds; if (!filterCols.empty()) { for (const auto& colName : filterCols) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org