We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ffacc commit 3458a24Copy full SHA for 3458a24
sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
@@ -188,6 +188,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
188
}
189
190
191
+ /** Returns true if the table is currently cached in-memory. */
192
def isCached(tableName: String): Boolean = {
193
val relation = catalog.lookupRelation(None, tableName)
194
EliminateAnalysisOperators(relation) match {
0 commit comments