attilapiros commented on a change in pull request #23721: 
[SPARK-26797][SQL][WIP] Start using the new logical types API of Parquet 1.11.0 
instead of the deprecated one
URL: https://github.com/apache/spark/pull/23721#discussion_r253088054
 
 

 ##########
 File path: 
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java
 ##########
 @@ -441,6 +472,16 @@ private void readLongBatch(int rowId, int num, 
WritableColumnVector column) thro
     }
   }
 
+  private boolean needsTimezoneAdjustment() {
+    return logicalTypeAnnotation instanceof TimestampLogicalTypeAnnotation &&
+      !((TimestampLogicalTypeAnnotation) 
logicalTypeAnnotation).isAdjustedToUTC();
+  }
+
+  private boolean isTimestampWithUnit(LogicalTypeAnnotation 
logicalTypeAnnotation, LogicalTypeAnnotation.TimeUnit timeUnit) {
 
 Review comment:
   Nit: too long line

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to