Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/18933#discussion_r145888010
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
@@ -912,6 +912,14 @@ object SQLConf {
.intConf
.createWithDefault(10000)
+ val PANDAS_TIMEZONE_AWARE =
+ buildConf("spark.sql.execution.pandas.timeZoneAware")
+ .internal()
+ .doc("When true, make Pandas DataFrame with timezone-aware timestamp
type when converting " +
+ "by pyspark.sql.DataFrame.toPandas. The session local timezone is
used for the timezone.")
+ .booleanConf
+ .createWithDefault(false)
--- End diff --
We can change the default to `true`, since we agree that this is a bug.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]