Hello Zoltan Borok-Nagy, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/19877

to look at the new patch set (#2).

Change subject: IMPALA-12123 (part 2): Fix offsets for HDFS caching with 
subranges
......................................................................

IMPALA-12123 (part 2): Fix offsets for HDFS caching with subranges

When using HDFS caching, subrange reads are copying memory
from the HDFS cache buffer into the output buffer. When
the HDFS cache buffer starts at an offset into the file,
the subrange offsets need to be adjusted to point to the
relative place within the cache buffer. This fixes the
calculation to use the relative locations.

Testing:
 - Modified the caching tests in disk-io-mgr-test to also
   test with reads at an offset
 - In a local minicluster, creating a table based on
   alltypes_tiny_pages.parquet, added HDFS caching for the table,
   ran the SQLs in parquet-page-index-alltypes-tiny-pages.test,
   and checked the HDFS caching reads in the profile.

Change-Id: Icd0ccc677b090ef3a75047defb4d7bda4279dac6
---
M be/src/runtime/io/disk-io-mgr-test.cc
M be/src/runtime/io/scan-range.cc
2 files changed, 58 insertions(+), 22 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/19877/2
-- 
To view, visit http://gerrit.cloudera.org:8080/19877
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icd0ccc677b090ef3a75047defb4d7bda4279dac6
Gerrit-Change-Number: 19877
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to