[
https://issues.apache.org/jira/browse/ORC-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441285#comment-16441285
]
ASF GitHub Bot commented on ORC-341:
------------------------------------
Github user omalley commented on the issue:
https://github.com/apache/orc/pull/249
@jcamachor I'd suggest a much simpler API:
- Instead of passing in the reader timezone, make a boolean option to
useUtcForTimestamp.
- Extend TimestampColumnVector to have a boolean isUTC field.
- The TimestampTreeWriter can use the isUTC in the ColumnVector to
determine if it is in UTC.
- The reader can set isUTC appropriately based on the option.
Thoughts?
> Support time zone as a parameter for Java reader and writer
> -----------------------------------------------------------
>
> Key: ORC-341
> URL: https://issues.apache.org/jira/browse/ORC-341
> Project: ORC
> Issue Type: Improvement
> Reporter: Jesus Camacho Rodriguez
> Priority: Major
>
> Currently, time zone is hardcoded as the system default time zone and ORC
> applies displacement between timestamp values read/written based on time zone.
> This issue aims at adding the option to pass the time zone as a parameter to
> the reader/writer.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)