orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-112) TimestampTreeReader doesn't properly track changes in timezone between stripes
Date Tue, 29 Nov 2016 07:08:58 GMT
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)

Mime
View raw message