Github user viirya commented on the pull request: https://github.com/apache/spark/pull/3600#issuecomment-66448444 Except for some streams associated with files and network connections, not all streams should always be closed when you're done with them. That is what I know. Maybe that is why `DeserializationStream` does not implement `finalize` to close its input stream. I think that it is unnecessary to have such long discussion for a small modification. I will close this PR later.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org