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

Grant Henke edited comment on KUDU-2632 at 7/1/19 11:31 PM:
------------------------------------------------------------

I think we should be consistent with other data stores/formats if possible. 
Impala (IMPALA-6169) and Hive 
(https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-date)
 are also important considerations when Implementing this feature. 

Unifying the integral date representation would be good historical data storage 
and offloads. 


was (Author: granthenke):
I think we should be consistent with other data stores/formats if possible. 
Impala (IMPALA-6169) and Hive 
(https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-date)
 are also important considerations when Implementing this feature. 

Limiting Date's to only values > 0000-01-01 would not be good for historical 
data storage and offloads. 

> Add DATE data type
> ------------------
>
>                 Key: KUDU-2632
>                 URL: https://issues.apache.org/jira/browse/KUDU-2632
>             Project: Kudu
>          Issue Type: New Feature
>          Components: tablet
>    Affects Versions: 1.8.0
>            Reporter: Adar Dembo
>            Assignee: Attila Bukor
>            Priority: Major
>              Labels: roadmap-candidate
>
> {{DATE}} is a timezone-agnostic measure of the current date (without time of 
> day) in YYYY-MM-DD form. The range of values typically supported is 
> 0000-­01-­01 to 9999-­12-­31. [Parquet has 
> implemented|https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#date]
>  {{DATE}} as a logical type mapped to int32, represented as the number of 
> days since the start of the UNIX epoch (i.e. January 1, 1970).
> Support for {{DATE}} is currently being added to Impala; we should also add 
> support for it to Kudu.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to