GitHub user vinodkc opened a pull request: https://github.com/apache/spark/pull/18771
[SPARK-21478][SQL] Avoid unpersisting related Datasets ## What changes were proposed in this pull request? While unpersisting a dataset, only unpersist and remove that datasets's plan from Cachemanager's cachedData. ## How was this patch tested? Added unit tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/vinodkc/spark br_SPARK-21478 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18771.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18771 ---- commit e187aeb67a13493c6f5a9e540779a677d3502b04 Author: vinodkc <vinod.kc...@gmail.com> Date: 2017-07-29T15:10:24Z Fixed unpersisting related DFs commit 857b3dd5804355331d3bef4eb8136e6604232758 Author: vinodkc <vinod.kc...@gmail.com> Date: 2017-07-29T18:01:01Z Updated test cases and condition for unpersist ---- --- 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