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 18fb8e2c288 [Fix] Clear streams map when all row groups are filtered by row group stats, despite stripe stats remaining unfiltered. (#306) 18fb8e2c288 is described below commit 18fb8e2c2888a3518bf2bbd905f60772f4754739 Author: Qi Chen <che...@selectdb.com> AuthorDate: Fri Apr 18 18:13:33 2025 +0800 [Fix] Clear streams map when all row groups are filtered by row group stats, despite stripe stats remaining unfiltered. (#306) --- c++/src/Reader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc index a44398b5d5d..44f2be21e19 100644 --- a/c++/src/Reader.cc +++ b/c++/src/Reader.cc @@ -1165,7 +1165,6 @@ namespace orc { reader.reset(); // ColumnReaders use lots of memory; free old memory first rowIndexes.clear(); bloomFilterIndex.clear(); - streams.clear(); followRowInStripe = 0; // evaluate file statistics if it exists @@ -1218,6 +1217,7 @@ namespace orc { currentStripeInfo.datalength(), currentStripeInfo.footerlength(), currentStripeInfo.numberofrows(), contents->stream.get(), *contents->pool, contents->compression, contents->blockSize, contents->readerMetrics)); + streams.clear(); contents->stream->beforeReadStripe(std::move(currentStripeInformation), selectedColumns, streams); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org