HyukjinKwon commented on code in PR #42309:
URL: https://github.com/apache/spark/pull/42309#discussion_r1282591356


##########
python/pyspark/cloudpickle/cloudpickle_fast.py:
##########
@@ -631,7 +631,7 @@ def dump(self, obj):
         try:
             return Pickler.dump(self, obj)
         except RuntimeError as e:
-            if "recursion" in e.args[0]:
+            if len(e.args) > 0 and "recursion" in e.args[0]:

Review Comment:
   We should also fix this at https://github.com/cloudpipe/cloudpickle. This 
file is exactly matched with cloudpickle release.



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