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_r253050474
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetReadSupport.scala
 ##########
 @@ -49,15 +50,16 @@ import org.apache.spark.sql.types._
  * Due to this reason, we no longer rely on [[ReadContext]] to pass requested 
schema from [[init()]]
  * to [[prepareForRead()]], but use a private `var` for simplicity.
  */
-private[parquet] class ParquetReadSupport(val convertTz: Option[TimeZone])
+private[parquet] class ParquetReadSupport(val convertTz: Option[TimeZone],
+                                          val sessionLocalTz: TimeZone)
 
 Review comment:
   nit: indentation, avoid aligning parameters into one row. 
   It is preferred to have each parameters to have its own line if they do not 
fit in one 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