You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ka...@apache.org on 2025/12/04 09:58:13 UTC

(doris-thirdparty) 01/01: [fix](orc-reader) Fix Orc row reader nextBatch failed. reason = unordered_map.

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

kakachen pushed a commit to branch cq_nested_column_prune_external_table
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git

commit 71af3e2535a1bb32ccaeffaf8fa534ac142b6199
Author: kakachen <ch...@selectdb.com>
AuthorDate: Thu Dec 4 17:57:30 2025 +0800

    [fix](orc-reader) Fix Orc row reader nextBatch failed. reason = unordered_map.
---
 c++/src/ColumnReader.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/c++/src/ColumnReader.cc b/c++/src/ColumnReader.cc
index c8b03fc435e..482eb29d4d4 100644
--- a/c++/src/ColumnReader.cc
+++ b/c++/src/ColumnReader.cc
@@ -116,7 +116,10 @@ namespace orc {
   void ColumnReader::seekToRowGroup(std::unordered_map<uint64_t, PositionProvider>& positions,
                                     const ReadPhase& readPhase) {
     if (notNullDecoder.get()) {
-      notNullDecoder->seek(positions.at(columnId));
+      auto it = positions.find(columnId);
+      if (it != positions.end()) {
+        notNullDecoder->seek(it->second);
+      }
     }
   }
 


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