Xuebin Su has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22974


Change subject: IMPALA-14110: Avoid decoding values for counting columns
......................................................................

IMPALA-14110: Avoid decoding values for counting columns

For a counting column, its slot descriptor is null and its data decoder
is not initialized. Therefore, trying to decode the values when skipping
them will lead to check failure.

This patch fixes the issue by returning early when trying to skip values
if the current column is a counting column to avoid trying to decode any
value.

Testing:
- Passed the previously failed Parquet tests in exhaustive mode.

Change-Id: Ia707335c50cc0653097f375aae3f10609e0eb091
---
M be/src/exec/parquet/hdfs-parquet-scanner.cc
M be/src/exec/parquet/parquet-column-readers.cc
M 
testdata/workloads/functional-query/queries/QueryTest/zipping-unnest-in-from-clause.test
3 files changed, 8 insertions(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia707335c50cc0653097f375aae3f10609e0eb091
Gerrit-Change-Number: 22974
Gerrit-PatchSet: 1
Gerrit-Owner: Xuebin Su <[email protected]>

Reply via email to