You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2020/08/24 16:30:00 UTC

[jira] [Created] (ORC-661) DateColumnStatistics uses Date, which is not timezone agnostic.

Owen O'Malley created ORC-661:
---------------------------------

             Summary: 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


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)