Aleksandr Efimov has uploaded this change for review. ( 
https://gerrit.cloudera.org/25488


Change subject: IMPALA-15458: Fix sampled scan HBO input rows
......................................................................

IMPALA-15458: Fix sampled scan HBO input rows

For TABLESAMPLE scans, input_rows counts all rows in each partition
with a sampled file. This can make HBO reuse history from a sample
that read a different amount of data.

Scale each partition's row count by its actual share of sampled
bytes. Keep the separate TABLESAMPLE key.

Testing:
- HdfsScanNodeTest and HistoricalStatsTest: 14 tests passed.
- On the unchanged parent, 5 regression tests failed as expected.

Change-Id: I3e0ce4e58e11a9d14aac3b0fed2b771dafe1b628
Assisted-by: gpt-6.1-sol (Codex)
---
M fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java
A fe/src/test/java/org/apache/impala/planner/HdfsScanNodeTest.java
2 files changed, 184 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/88/25488/1
--
To view, visit https://gerrit.cloudera.org/25488
To unsubscribe, visit https://gerrit.cloudera.org/settings

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

Reply via email to