cloud-fan commented on a change in pull request #28593:
URL: https://github.com/apache/spark/pull/28593#discussion_r434305851
##########
File path: python/pyspark/sql/tests/test_dataframe.py
##########
@@ -632,7 +633,8 @@ def test_to_pandas_from_null_dataframe(self):
@unittest.skipIf(not have_pandas, pandas_requirement_message)
def test_to_pandas_from_mixed_dataframe(self):
- with self.sql_conf({"spark.sql.execution.arrow.pyspark.enabled":
False}):
+ with self.sql_conf({"spark.sql.execution.arrow.pyspark.enabled": False,
+ "spark.sql.legacy.allowCastNumericToTimestamp":
True}):
Review comment:
can we fix the test? We can use the new functions instead of cast.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]