beliefer commented on code in PR #43259:
URL: https://github.com/apache/spark/pull/43259#discussion_r1354359450
##########
sql/core/src/main/scala/org/apache/spark/sql/internal/CatalogImpl.scala:
##########
@@ -760,13 +760,13 @@ class CatalogImpl(sparkSession: SparkSession) extends
Catalog {
}
/**
- * Caches the specified table or view in-memory.
+ * Persist the specified table or view with the default storage level,
Review Comment:
> not exactly, the default storage level of persist is memory and disk, so
it's possible only cache it in memory.
Uh, The persist uses memory and disk. The method name `persist` is a bit
confused. If so, `persist` is not surely persistent. The `cache` is the same as
`persist`. The behavior of these two methods is uncertain.
Please ignore the comments left above.
--
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]