Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/17347 )

Change subject: IMPALA-9967: Add support for reading ORC's TIMESTAMP WITH LOCAL 
TIMEZONE
......................................................................

IMPALA-9967: Add support for reading ORC's TIMESTAMP WITH LOCAL TIMEZONE

ORC-189 and ORC-666 added support for a new timestamp type
'TIMESTMAP WITH LOCAL TIMEZONE' to the Orc library.

This patch adds support for reading such timestamps with Impala.
These are UTC-normalized timestamps, therefore we convert them
to local timezone during scanning.

Testing:
 * added test for CREATE TABLE LIKE ORC
 * added scanner tests to test_scanners.py

Change-Id: Icb0c6a43ebea21f1cba5b8f304db7c4bd43967d9
Reviewed-on: http://gerrit.cloudera.org:8080/17347
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/exec/orc-column-readers.cc
M be/src/exec/orc-column-readers.h
M be/src/exec/orc-metadata-utils.cc
M bin/impala-config.sh
M fe/src/main/java/org/apache/impala/analysis/OrcSchemaExtractor.java
M java/shaded-deps/hive-exec/pom.xml
M testdata/data/README
A testdata/data/timestamp_with_local_timezone.orc
M 
testdata/workloads/functional-query/queries/QueryTest/create-table-like-file-orc.test
A 
testdata/workloads/functional-query/queries/QueryTest/orc_timestamp_with_local_timezone.test
M tests/common/file_utils.py
M tests/metadata/test_ddl.py
M tests/query_test/test_scanners.py
13 files changed, 76 insertions(+), 12 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/17347
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb0c6a43ebea21f1cba5b8f304db7c4bd43967d9
Gerrit-Change-Number: 17347
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tamas Mate <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: wangsheng <[email protected]>

Reply via email to