ianmcook commented on code in PR #46529:
URL: https://github.com/apache/spark/pull/46529#discussion_r1619518040
##########
python/pyspark/sql/pandas/conversion.py:
##########
@@ -360,12 +376,25 @@ def createDataFrame( # type: ignore[misc]
assert isinstance(self, SparkSession)
+ timezone = self._jconf.sessionLocalTimeZone()
+
+ if type(data).__name__ == "Table":
Review Comment:
Hmm yeah I'm not sure. Probably it's safer to add an `isinstance` assertion
below as you suggest.
--
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]