[
https://issues.apache.org/jira/browse/ARROW-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926547#comment-15926547
]
Julien Le Dem commented on ARROW-617:
-------------------------------------
```log2(1000 * 1000 * 3600 *24) = 36.3...``` so micros don't fit in 32 bits.
that's be:
- 32 bits for second and millisecond precision
- 64 bits for microsecond and nanosecond precision
I would rather make it hard requirement and not allow 64 bits for sec/millis
for simplicity. That way we don't have to specify 2 types (Time32 and Time64).
We just use the smallest precision that works for Time based on the unit.
> Time type is not specified clearly
> ----------------------------------
>
> Key: ARROW-617
> URL: https://issues.apache.org/jira/browse/ARROW-617
> Project: Apache Arrow
> Issue Type: Bug
> Components: Format
> Reporter: Julien Le Dem
>
> 2 options:
> - Use 64 bits for microseconds and nanoseconds, 32 bits for other units
> - Use 64 bits for everything
> The latter is simpler to implement, the former saves space.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)