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

    https://github.com/apache/spark/pull/19769#discussion_r155870447
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala
 ---
    @@ -307,6 +308,10 @@ class ParquetFileFormat
         hadoopConf.set(
           ParquetWriteSupport.SPARK_ROW_SCHEMA,
           requiredSchema.json)
    +    hadoopConf.set(
    +      SQLConf.SESSION_LOCAL_TIMEZONE.key,
    +      sparkSession.sessionState.conf.sessionLocalTimeZone
    +    )
    --- End diff --
    
    Do you mean:
    ```
    hadoopConf.set(
          SQLConf.SESSION_LOCAL_TIMEZONE.key, 
sparkSession.sessionState.conf.sessionLocalTimeZone)
    ```
    
    ? If so, there are several other `hadoopConf.set()` calls that could be 
similarly formatted. Would you like me to fix them as well?


---

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

Reply via email to