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

    https://github.com/apache/spark/pull/19769#discussion_r151610021
  
    --- Diff: 
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java
 ---
    @@ -93,13 +94,18 @@
       private final PageReader pageReader;
       private final ColumnDescriptor descriptor;
       private final OriginalType originalType;
    +  // The timezone conversion to apply to int96 timestamps.  Null if no 
conversion.
    +  private final TimeZone convertTz;
    +  private final static TimeZone UTC = TimeZone.getTimeZone("UTC");
    --- End diff --
    
    I was avoiding doing that just because that makes the UTC vs GMT 
distinction more obvious :P.  I feel it may look odd having both defined as 
constants `DateTimeUtils`, without some comment explaining the difference, and 
if there is a preference.  Frankly I don't know the difference but I know 
impala uses UTC.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to