Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/16429
@holdenk, Yup. (actually, it is cloudpipe/cloudpickle@cbd3f34 because there
were more minor fixes). It seems there are several customized codes such as
injecting `numpy` as below:
```python
def inject_numpy(self):
numpy = sys.modules.get('numpy')
if not numpy or not hasattr(numpy, 'ufunc'):
return
self.dispatch[numpy.ufunc] = self.__class__.save_ufunc
```
So, I tried to take out the valid changes from there for now.
I also agree with using it as a thirdparty library if possible. That would
be bigger job than this though because we now have a quite lot of customized
codes there.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]