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)