hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <>
Subject [jira] [Created] (HIVE-17230) Timestamp format different in HiveCLI and Beeline
Date Wed, 02 Aug 2017 13:13:00 GMT
Peter Vary created HIVE-17230:

             Summary: Timestamp format different in HiveCLI and Beeline
                 Key: HIVE-17230
             Project: Hive
          Issue Type: Bug
          Components: Beeline, CLI
            Reporter: Peter Vary
            Assignee: Peter Vary

The issue can be reproduced with the following commands:
create table timestamp_test(t timestamp);
insert into table timestamp_test values('2000-01-01 01:00:00');
select * from timestamp_test;

The timestamp is displayed without nanoseconds in HiveCLI:
2000-01-01 01:00:00

When the exact same timestamp is displayed in BeeLine it displays:
2000-01-01 01:00:00.0

This message was sent by Atlassian JIRA

View raw message