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

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

Github user jcamachor commented on the issue:

    https://github.com/apache/orc/pull/249
  
    @omalley , I have been trying to add the Boolean ```useUTCTimestamp``` as 
suggested. Making it work with the reader/writer does not seem to be a problem, 
since I can pass the information through the context. However, we also create 
column vectors in the ```TypeDescription``` class, where we do not seem to have 
any context information, just the type string representation. It seems that 
unless we pass the information through that representation, we cannot know the 
value for the boolean when we create the column over there, and I do not think 
we want to go in that direction. Any ideas?
    
    If we do not go in that direction, I thought that I can change current 
patch to use a ```boolean``` instead of the ```TimeZone``` itself (but without 
storing it).
    
    Please, let me know what you think.


> 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