Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/18687
Thanks for fixing this, but this PR does not fix all the cases that caused
by our materialized plans in the QueryExecution. For examples,
```Scala
Seq("1", "2").toDF().write.saveAsTable("t")
val ds1 = spark.table("t")
val ds2 = spark.table("t")
ds1.collect()
ds2.persist()
ds1.collect() --> this still use the uncached plan.
```
---
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]