[ 
https://issues.apache.org/jira/browse/ORC-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441423#comment-16441423
 ] 

ASF GitHub Bot commented on ORC-341:
------------------------------------

Github user jcamachor commented on the issue:

    https://github.com/apache/orc/pull/249
  
    @omalley , it seems like a good idea, let me explore it and refresh the PR. 
I will adapt HIVE-19226 to these new changes too.
    
    @wgtmac , I understand you are suggesting that this can be fixed only from 
Hive side? Problem is that existing ORC files should still be read properly, 
hence you would need to recognize old vs new ORC files. In addition, you will 
apply displacement twice when reading/writing, in Hive and in ORC. It seems to 
me the cleaner solution is just being able to point to ORC that timestamp data 
is in UTC from Java reader/writer. FWIW, change to stringify in 
TimestampColumnVector is needed indeed.


> 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)

Reply via email to