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



##########
File path: python/pyspark/sql/tests/test_utils.py
##########
@@ -33,6 +34,13 @@ def test_capture_user_friendly_exception(self):
         except AnalysisException as e:
             self.assertRegex(str(e), "Column '`中文字段`' does not exist")
 
+    def test_spark_upgrade_exception(self):
+        from pyspark.sql.functions import to_date, unix_timestamp, 
from_unixtime

Review comment:
       feel free to import this on the top of this file




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