orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wgtmac <...@git.apache.org>
Subject [GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp
Date Sat, 24 Mar 2018 14:23:21 GMT
Github user wgtmac commented on a diff in the pull request:

    https://github.com/apache/orc/pull/233#discussion_r176910542
  
    --- Diff: c++/src/ColumnWriter.cc ---
    @@ -1194,9 +1194,8 @@ namespace orc {
         bool hasNull = false;
         for (uint64_t i = 0; i < numValues; ++i) {
           if (notNull == nullptr || notNull[i]) {
    -        // TimestampVectorBatch stores data in local timezone
    -        int64_t millsUTC =
    -          timezone.convertToUTC(secs[i]) * 1000 + nanos[i] / 1000000;
    +        // TimestampVectorBatch stores data in UTC timezone
    --- End diff --
    
    Done


---

Mime
View raw message