Aleksandr Efimov has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24910


Change subject: IMPALA-15387: Reset next_levels_consumed_ for each row group
......................................................................

IMPALA-15387: Reset next_levels_consumed_ for each row group

ComplexColumnReader::Reset() did not clear next_levels_consumed_, added
by IMPALA-3841. In a new row group the parent collection skipped its
nested child in the first NextLevels(), treated itself as empty and read
levels again, so a scalar sibling read its levels twice. From the first
page boundary on, that sibling returned the next row's value.

Testing:
- Added a two-level query over customer_nested_multiblock_multipage to
  parquet-late-materialization-unique-db.test. Expected result computed
  with pyarrow; a build without the fix returns 11908,9964,29547222652.

Change-Id: I7a1fe611da5dfebd99fa62f694a719675822935f
Assisted-by: Claude Opus 5 (Claude Code)
---
M be/src/exec/parquet/parquet-complex-column-reader.h
M 
testdata/workloads/functional-query/queries/QueryTest/parquet-late-materialization-unique-db.test
2 files changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/10/24910/1
--
To view, visit http://gerrit.cloudera.org:8080/24910
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a1fe611da5dfebd99fa62f694a719675822935f
Gerrit-Change-Number: 24910
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to