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



##########
File path: python/pyspark/pandas/tests/test_dataframe.py
##########
@@ -2673,116 +2675,129 @@ def test_join(self):
             psdf1.join(psdf2, on=["index1"], rsuffix="_right")
 
     def test_replace(self):
-        pdf = pd.DataFrame(
-            {
-                "name": ["Ironman", "Captain America", "Thor", "Hulk"],
-                "weapon": ["Mark-45", "Shield", "Mjolnir", "Smash"],
-            },
-            index=np.random.rand(4),
-        )
-        psdf = ps.from_pandas(pdf)
+        with self.sql_conf({"spark.sql.ansi.enabled": False}):

Review comment:
       Does this test really need to disable `spark.sql.ansi.enabled` for all 
cases?




-- 
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