You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2020/08/24 16:31:00 UTC
[jira] [Commented] (ORC-661) DateColumnStatistics uses Date, which
is not timezone agnostic.
[ https://issues.apache.org/jira/browse/ORC-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183429#comment-17183429 ]
Owen O'Malley commented on ORC-661:
-----------------------------------
I've create a new issue to avoid using the mis-used ORC-370 label.
> DateColumnStatistics uses Date, which is not timezone agnostic.
> ---------------------------------------------------------------
>
> Key: ORC-661
> URL: https://issues.apache.org/jira/browse/ORC-661
> Project: ORC
> Issue Type: Bug
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Priority: Major
>
> Java's Date class is horribly broken and should not be used. Unfortunately, we used it to return the results of the min/max for ColumnStatistics. That leads to lots of problems.
> To fix this, we'll create new API methods that return it both as day of epoch and LocalDate. Both of them work much better.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)