Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18262


Change subject: IMPALA-11137: Enable proleptic Gregorian Calendar for Hive
......................................................................

IMPALA-11137: Enable proleptic Gregorian Calendar for Hive

Since HIVE-22589, Hive still uses Julian Calendar for writing dates
before 1582-10-15, whereas Impala uses proleptic Gregorian Calendar.
This affects the results Impala gets when querying tables written by
Hive. Currently, the Avro and ORC formats of date_tbl are suffering this
issue.

This patch enables proleptic Gregorian Calendar for Hive by default.
It also reverts the two commits of IMPALA-9555 which modifies the tests
to satisfy the inconsistent results.

Tests:
 - Ran CORE tests

Change-Id: I6be9c9720dd352d6821cdaa6c64d35ba20473bc0
---
M fe/src/test/resources/hive-site.xml.py
M testdata/workloads/functional-query/queries/QueryTest/avro_date.test
M testdata/workloads/functional-query/queries/QueryTest/orc-stats.test
M tests/query_test/test_date_queries.py
4 files changed, 36 insertions(+), 38 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6be9c9720dd352d6821cdaa6c64d35ba20473bc0
Gerrit-Change-Number: 18262
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to