zhengruifeng commented on code in PR #42828:
URL: https://github.com/apache/spark/pull/42828#discussion_r1320894428


##########
python/pyspark/sql/tests/test_dataframe.py:
##########
@@ -26,7 +26,6 @@
 import io
 from contextlib import redirect_stdout
 
-from pyspark import StorageLevel

Review Comment:
   it is not related, it is a not-used import. since we are touching this file, 
what about also removing it btw?



##########
python/pyspark/sql/tests/test_dataframe.py:
##########
@@ -77,7 +121,7 @@ def test_duplicated_column_names(self):
         self.assertEqual(2, row[1])
         self.assertEqual("Row(c=1, c=2)", str(row))
         # Cannot access columns
-        self.assertRaises(AnalysisException, lambda: df.select(df[0]).first())
+        # self.assertRaises(AnalysisException, lambda: 
df.select(df[0]).first())

Review Comment:
   nice, will remove it.



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