Karen Coppage created HIVE-21095: ------------------------------------ Summary: '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
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 might have nothing to do with the actual data. 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 message was sent by Atlassian JIRA (v7.6.3#76005)