GitHub user omalley opened a pull request:
https://github.com/apache/orc/pull/18
ORC-10. Correct bug when moving ORC files between timezones.
This patch:
* Create the new Timezone class that reads the tzfiles and interprets
them.
* Changes the timestamp reader to use the writer's timezone if the writer
included it.
* Changes the timestamp column vector representation to UTC so that we
don't need to do a second lookup and translation into the local timezone.
* ColumnPrinter is changed to assume the column vector is in UTC.
* Makes the test for >2038 support explicitly set the timezone.
* Adds variables for the run-all.sh docker script that lets you change
the repository and branch to test.
* Removes a spurious -O0 from the tools' cmake file.
I've tested this patch on MacOS 10.11 and all of the docker scripts.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/omalley/orc orc-10
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/18.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18
----
commit 6dce746c30098a7b708dfa0aa5010260fd505ca6
Author: Owen O'Malley <[email protected]>
Date: 2016-02-11T23:21:03Z
ORC-10. Correct bug when moving ORC files between timezones.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---