hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-4055) add Date data type
Date Wed, 05 Jun 2013 02:05:20 GMT


Thejas M Nair commented on HIVE-4055:

[~sunrui] I think we should consider using JodaTime instead of java.sql.Date.
While working on datetime implementation in Apache Pig (PIG-1314), we found that JodaTime
is significantly faster than java built in date type. See numbers here -!default.jspa?id=12459893&commentId=13284047
. The test code is attached in the jira. Note that the comparison is after adding optimization
to avoid conversion Calendar objects from java.sql.Date is a thin wrapper
around java.util.Date , so it is likely to have the same performance characteristics.

> add Date data type
> ------------------
>                 Key: HIVE-4055
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: JDBC, Query Processor, Serializers/Deserializers, UDF
>            Reporter: Sun Rui
>         Attachments: HIVE-4055.1.patch.txt
> Add Date data type, a new primitive data type which supports the standard SQL date type.
> Basically, the implementation can take HIVE-2272 and HIVE-2957 as references.

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:

View raw message