Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
None
Description
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.
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'))
should be:
hive> show create table text_local; CREATE TABLE `text_local`( `ts` timestamp with local time zone)
This was discussed in the community doc Consistent timestamp types in Hadoop SQL engines
Attachments
Attachments
Issue Links
- links to