dongjoon-hyun commented on code in PR #57443:
URL: https://github.com/apache/spark/pull/57443#discussion_r3658933256
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala:
##########
@@ -296,35 +312,34 @@ case class CachedRDDBuilder(
if (_cachedColumnBuffers != null) {
_cachedColumnBuffers.unpersist(blocking)
_cachedColumnBuffers = null
- // The buffers no longer back a live RDD. Reset the one-way "loaded"
latch and the keyed
- // bookkeeping so a rebuild on this builder does not inherit a stale
"loaded" state or stale
- // statistics. Safe to reset in place: every read of the accumulator is
under this monitor.
- _cachedColumnBuffersAreLoaded = false
- partitionStats.reset()
+ partitionStats = newPartitionStats()
}
+ isCachedRDDRepeatable = false
Review Comment:
```suggestion
isCachedRDDRepeatable = false
hasStrictFileSourceReads = true
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]