SuccessChanges

Summary

  1. [SPARK-24613][SQL] Cache with UDF could not be matched with subsequent (commit: 6e1f5e0182e1d111f7252c24c576674d1d2c7b91) (details)
Commit 6e1f5e0182e1d111f7252c24c576674d1d2c7b91 by gatorsmile
[SPARK-24613][SQL] Cache with UDF could not be matched with subsequent
dependent caches
Wrap the logical plan with a `AnalysisBarrier` for execution plan
compilation in CacheManager, in order to avoid the plan being analyzed
again.
Add one test in `DatasetCacheSuite`
Author: Maryann Xue <maryannxue@apache.org>
Closes #21602 from maryannxue/cache-mismatch.
(commit: 6e1f5e0182e1d111f7252c24c576674d1d2c7b91)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/DatasetCacheSuite.scala (diff)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala (diff)