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

Julien Le Dem commented on ARROW-316:
-------------------------------------

What representations do we need?
 - millisecond since the UNIX epoch on 64 bits: does this mean the timestamp at 
midnight? This is not the same as number of days * 24 * 3600 * 1000 because of 
leap seconds.
 - number of days since the UNIX epoch on int32. This one seems straightforward.

Do we want to make the Date type more explicit similar to the current Time type 
discussion? Meaning it has a unit and a bitWidth? This seems overkill since the 
precision is always day.




> Finalize Date type
> ------------------
>
>                 Key: ARROW-316
>                 URL: https://issues.apache.org/jira/browse/ARROW-316
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Format
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>             Fix For: 0.3.0
>
>
> Parquet defines it as: "number of days from the Unix epoch, 1 January 1970."
> https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#datetime-types
> We should make it the same.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to