Zoltan Borok-Nagy has uploaded this change for review. ( 
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
---
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, 78 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/17347/1
--
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: newchange
Gerrit-Change-Id: Icb0c6a43ebea21f1cba5b8f304db7c4bd43967d9
Gerrit-Change-Number: 17347
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to