zhengruifeng commented on code in PR #38946:
URL: https://github.com/apache/spark/pull/38946#discussion_r1043091903
##########
python/pyspark/sql/tests/connect/test_connect_function.py:
##########
@@ -412,6 +412,125 @@ def test_aggregation_functions(self):
sdf.groupBy("a").agg(SF.percentile_approx(sdf.b, [0.1,
0.9])).toPandas(),
)
+ def test_date_ts_functions(self):
Review Comment:
if `toPandas` doesn't work correctly with timestamp, you can use the newly
added comparison method
[compare_by_show](https://github.com/apache/spark/blob/master/python/pyspark/sql/tests/connect/test_connect_function.py#L66)
--
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]