orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omalley <...@git.apache.org>
Subject [GitHub] orc issue #249: [ORC-341] Support time zone as a parameter for Java reader a...
Date Tue, 17 Apr 2018 18:10:19 GMT
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?


---

Mime
View raw message