HyukjinKwon commented on a change in pull request #33877:
URL: https://github.com/apache/spark/pull/33877#discussion_r701796298



##########
File path: python/pyspark/pandas/utils.py
##########
@@ -470,6 +470,7 @@ def default_session(conf: Optional[Dict[str, Any]] = None) 
-> SparkSession:
     # Currently, pandas-on-Spark is dependent on such join due to 
'compute.ops_on_diff_frames'
     # configuration. This is needed with Spark 3.0+.
     builder.config("spark.sql.analyzer.failAmbiguousSelfJoin", False)
+    builder.config("spark.sql.timestampType", "TIMESTAMP_NTZ")

Review comment:
       should revert this back once tests pass.

##########
File path: python/pyspark/testing/sqlutils.py
##########
@@ -249,6 +249,7 @@ class ReusedSQLTestCase(ReusedPySparkTestCase, 
SQLTestUtils):
     def setUpClass(cls):
         super(ReusedSQLTestCase, cls).setUpClass()
         cls.spark = SparkSession(cls.sc)
+        cls.spark.conf.set("spark.sql.timestampType", "TIMESTAMP_NTZ")

Review comment:
       should revert back when the tests pass




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to