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, 20 May 2013 09:43:17 GMT

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

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

Test results with and without this patch differ only by a spurious failure of a ZK-related
test that is not affected by the changes here. 

*** 3838,3843 ****
--- 3838,3845 ----
      [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
      [junit] Running org.apache.hadoop.hive.serde2.dynamic_type.TestDynamicSerDe
      [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
+     [junit] Running org.apache.hadoop.hive.serde2.io.TestTimestampWritable
+     [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0
      [junit] Running org.apache.hadoop.hive.serde2.lazy.TestLazyArrayMapStruct
      [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
      [junit] Running org.apache.hadoop.hive.serde2.lazy.TestLazyPrimitive
***************
*** 3901,3906 ****
      [junit] Running org.apache.hcatalog.hbase.snapshot.TestZNodeSetUp
      [junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0
      [junit] Running org.apache.hcatalog.hbase.snapshot.lock.WriteLockTest
!     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
      [junit] Running org.apache.hcatalog.hbase.snapshot.lock.ZNodeNameTest
      [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
--- 3903,3908 ----
      [junit] Running org.apache.hcatalog.hbase.snapshot.TestZNodeSetUp
      [junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0
      [junit] Running org.apache.hcatalog.hbase.snapshot.lock.WriteLockTest
!     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      [junit] Running org.apache.hcatalog.hbase.snapshot.lock.ZNodeNameTest
      [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
+ set +x


Committers: could you please take a look and consider committing this? Cc [~ashutoshc], [~owen.omalley],
[~cwsteinbach]. Thanks!

                
> 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, D10755.2.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