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 2016/11/29 07:08:58 UTC

[jira] [Created] (ORC-112) TimestampTreeReader doesn't properly track changes in timezone between stripes

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

             Summary: TimestampTreeReader doesn't properly track changes in timezone between stripes
                 Key: ORC-112
                 URL: https://issues.apache.org/jira/browse/ORC-112
             Project: Orc
          Issue Type: Bug
            Reporter: Owen O'Malley


There are a couple of issues with the current TimestampTreeReader.

* The constructor checks whether the writer timezone is different, but it is never given a writer timezone. TreeReaderFactory.Context.writerTimezone is never called. This isn't wrong, but it is unnecessary and misleading.

* When the writer timezone is available in startStripe, the current timestamp settings in the reader are only changed if the new timezone isn't in the baseTimezoneMap. Thus, if a file alternates timezones between stripes, it will get the wrong result.



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