Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/18687
> Once a dataset is uncached, the same fragment of logical plan in other
datasets should fallback to uncached plan.
This is true, although the plan looks like the same. However, the execution
is not using the cached data.
> Once a dataset is cached, the same fragment of logical plan in other
datasets should use the cached plan.
This is true, if and only if your first execution of `queryExecution` is
after `persist()`. If you check most of our APIs, we are building a new
`QueryExecution`.
---
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]