hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21095) 'Show create table' should not display a time zone for timestamp with local time zone
Date Fri, 11 Jan 2019 17:25:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740569#comment-16740569
] 

Hive QA commented on HIVE-21095:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12954606/HIVE-21095.4.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 15712 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15594/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15594/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15594/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12954606 - PreCommit-HIVE-Build

> 'Show create table' should not display a time zone for timestamp with local time zone
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-21095
>                 URL: https://issues.apache.org/jira/browse/HIVE-21095
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>         Attachments: HIVE-21095.1.patch, HIVE-21095.2.patch, HIVE-21095.2.patch, HIVE-21095.2.patch,
HIVE-21095.3.patch, HIVE-21095.4.patch
>
>
> SHOW CREATE TABLE shows the time zone that the table was created in (if it contains a
TIMESTAMPTZ column). This is also misleading, since it has nothing to do with the actual data
or server or user time zone.
> e.g.
> {code:java}
> hive> set time zone America/Los_Angeles;
> hive> create table text_local (ts timestamp with local time zone) stored as textfile;
> hive> show create table text_local;
> CREATE TABLE `text_local`(
>   `ts` timestamp with local time zone('America/Los_Angeles'))
> {code}
> should be:
> {code:java}
> hive> show create table text_local;
> CREATE TABLE `text_local`(
>   `ts` timestamp with local time zone)
> {code}
> This was discussed in the community doc [Consistent timestamp types in Hadoop SQL engines|https://docs.google.com/document/d/1gNRww9mZJcHvUDCXklzjFEQGpefsuR_akCDfWsdE35Q/edit?usp=sharing]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message