This is an automated email from the ASF dual-hosted git repository. morningman 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 f3349e01f34 [opt] Opt selectedColumns to const ref in beforeReadStripe(). (#286) f3349e01f34 is described below commit f3349e01f343ee84241427c5b46e8ecc3bed6d5b Author: Qi Chen <che...@selectdb.com> AuthorDate: Wed Feb 26 21:05:47 2025 +0800 [opt] Opt selectedColumns to const ref in beforeReadStripe(). (#286) --- c++/include/orc/OrcFile.hh | 2 +- c++/src/Reader.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c++/include/orc/OrcFile.hh b/c++/include/orc/OrcFile.hh index c7826e13add..096633c37e1 100644 --- a/c++/include/orc/OrcFile.hh +++ b/c++/include/orc/OrcFile.hh @@ -65,7 +65,7 @@ namespace orc { virtual void beforeReadStripe( std::unique_ptr<StripeInformation> currentStripeInformation, - std::vector<bool> selectedColumns, + const std::vector<bool>& selectedColumns, std::unordered_map<orc::StreamId, std::shared_ptr<InputStream>>& streams); }; diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc index 564c1f2aa6d..b6e2de9e94a 100644 --- a/c++/src/Reader.cc +++ b/c++/src/Reader.cc @@ -1768,7 +1768,7 @@ namespace orc { void InputStream::beforeReadStripe( std::unique_ptr<StripeInformation> currentStripeInformation, - std::vector<bool> selectedColumns, + const std::vector<bool>& selectedColumns, std::unordered_map<orc::StreamId, std::shared_ptr<InputStream>>& streams) {} } // namespace orc --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org