amaliujia commented on code in PR #38793:
URL: https://github.com/apache/spark/pull/38793#discussion_r1033010690
##########
python/pyspark/sql/tests/connect/test_connect_basic.py:
##########
@@ -465,6 +466,29 @@ def test_fill_na(self):
self.spark.sql(query).na.fill({"a": True, "b": 2}).toPandas(),
)
+ def test_with_columns(self):
+ # SPARK-41256: test withColumn(s).
+ self.assert_eq(
Review Comment:
I believe this assert is more powerful. If you encounter a false-equal case
this assert prints much more information to help understand where is the
in-quality.
`assert pdf.equals(other)` will just see these two are not equal, that's
all. see https://github.com/apache/spark/pull/38670
--
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]