viirya commented on code in PR #37279:
URL: https://github.com/apache/spark/pull/37279#discussion_r929197916


##########
python/pyspark/context.py:
##########
@@ -306,6 +306,14 @@ def _do_init(
         self.pythonExec = os.environ.get("PYSPARK_PYTHON", "python3")
         self.pythonVer = "%d.%d" % sys.version_info[:2]
 
+        if sys.version_info[:2] < (3, 8):

Review Comment:
   Same though at first glance. But as we only support Python3.7+, I think 
there might be other version check so here it is 3.7 for sure? Not sure. If 
not, then revised error message would be better.



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