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

Julian Hyde edited comment on ARROW-413 at 12/14/16 7:09 PM:
-------------------------------------------------------------

By the way, Phoenix uses longs to represent dates and not all the code rounds 
them ({{d -= d % 86,400,000}}) and it gets tricky. (Who's going to burn CPU 
cycles rounding a value that they're 99.9% sure has been rounded?!) As a result 
you're never quite sure whether two date values have been rounded, and 
sometimes someone from Moscow writes some data that drifts into the previous 
day.


was (Author: julianhyde):
By the way, Phoenix uses longs to represent dates and not all the code rounds 
them (d -= d % 8640000) and it gets tricky. (Who's going to burn CPU cycles 
rounding a value that they're 99.9% sure has been rounded?!) As a result you're 
never quite sure whether two date values have been rounded, and sometimes 
someone from Moscow writes some data that drifts into the previous day.

> DATE type is not specified clearly
> ----------------------------------
>
>                 Key: ARROW-413
>                 URL: https://issues.apache.org/jira/browse/ARROW-413
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 0.1.0
>            Reporter: Uwe L. Korn
>
> Currently the DATE type is not specified anywhere and needs to be documented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to