nchammas commented on PR #60251: URL: https://github.com/apache/spark/pull/60251#issuecomment-6784017288
Yes, `deepcopy()` copies more than we need. It would also fail in this case due to circular object references. I can remove the new test file, but do we really want to fix a bug and not add a regression test? The file is tucked away in a new `test/` folder dedicated to `sparktestsupport`. It's close to the code it tests and is otherwise out of the way. If we were using the upstream library directly (which, I just discovered, found and fixed this same bug some [5 years ago][1]) I would be more OK with not having our own tests. But we forked the code and testing is now on us. [1]: https://gitlab.com/ericvsmith/toposort/-/commit/fb55e67ad5151e19b66d8635710783d236c39d24 -- 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]
