[
https://issues.apache.org/jira/browse/HIVE-24508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wenjun ma updated HIVE-24508:
-----------------------------
Description:
reproduce steps:
export TZ=America/Los_Angeles
create external table t2(id int, v1 timestamp) stored as parquet LOCATION
'xxxxxx'
insert into t2 values(1,CURRENT_TIMESTAMP)
Then download real file from HDFS and you will find the timestamp is
Los_Angeles NOT UTC.
was:Even we set true or false. When we insert the current timestamp it always
uses the local time zone.
> Parquet Timestamp is local time NOT UTC when set TZ on linux
> ------------------------------------------------------------
>
> Key: HIVE-24508
> URL: https://issues.apache.org/jira/browse/HIVE-24508
> Project: Hive
> Issue Type: Bug
> Components: Parquet
> Reporter: wenjun ma
> Assignee: wenjun ma
> Priority: Major
> Fix For: All Versions
>
>
> reproduce steps:
> export TZ=America/Los_Angeles
> create external table t2(id int, v1 timestamp) stored as parquet LOCATION
> 'xxxxxx'
> insert into t2 values(1,CURRENT_TIMESTAMP)
> Then download real file from HDFS and you will find the timestamp is
> Los_Angeles NOT UTC.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)