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 2019/07/19 22:56:00 UTC
[jira] [Resolved] (ORC-340) ConvertTreeReaderFactory does not take
into account timezone information
[ https://issues.apache.org/jira/browse/ORC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley resolved ORC-340.
-------------------------------
Resolution: Not A Problem
> ConvertTreeReaderFactory does not take into account timezone information
> ------------------------------------------------------------------------
>
> Key: ORC-340
> URL: https://issues.apache.org/jira/browse/ORC-340
> Project: ORC
> Issue Type: Bug
> Components: evolution
> Reporter: Jesus Camacho Rodriguez
> Priority: Critical
>
> When converting timestamp/date to string group, {{toString}} is called on {{java.sql.Date}} and {{java.sql.Timestamp}}, which pick up the default time zone to represent the date/time as a String. This can lead to the wrong String representation. See {{ConvertTreeReaderFactory.StringGroupFromTimestampTreeReader}} or {{ConvertTreeReaderFactory.StringGroupFromDateTreeReader}}.
> {{StringGroupFromTimestampTreeReader}} should apply shifting, similar to {{TreeReaderFactory.TimestampTreeReader}}.
> {{StringGroupFromDateTreeReader}} should use a date formatter in UTC.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)