hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Bautin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4525) Support timestamps earlier than 1970 and later than 2038
Date Mon, 13 May 2013 17:23:17 GMT

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

Mikhail Bautin commented on HIVE-4525:
--------------------------------------

Correction to the design of this feature (I can't edit comments because of permissions, so
adding another comment). In case the seconds field needs more than 31 bit, the first VInt
is {{-1-reversedDecimal}} regardless of whether {{reversedDecimal}} is zero or not.
                
> Support timestamps earlier than 1970 and later than 2038
> --------------------------------------------------------
>
>                 Key: HIVE-4525
>                 URL: https://issues.apache.org/jira/browse/HIVE-4525
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>         Attachments: D10755.1.patch
>
>
> TimestampWritable currently serializes timestamps using the lower 31 bits of an int.
This does not allow to store timestamps earlier than 1970 or later than a certain point in
2038.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message