Github user wgtmac commented on a diff in the pull request:

    https://github.com/apache/orc/pull/249#discussion_r185691194
  
    --- Diff: java/core/src/java/org/apache/orc/impl/TreeReaderFactory.java ---
    @@ -990,6 +1007,10 @@ public void nextVector(ColumnVector previousVector,
           TimestampColumnVector result = (TimestampColumnVector) 
previousVector;
           super.nextVector(previousVector, isNull, batchSize);
     
    +      if (context.isUseUTCTimestamp()) {
    +        result.setIsUTC(true);
    --- End diff --
    
    result.setIsUTC(context.isUseUTCTimestamp());
    
    Just in case result is in UTC but context.isUseUTCTimestamp() is false.


---

Reply via email to