Skip to content

Commit 3458a24

Browse files
committed
Added comment for public API
1 parent f0ffacc commit 3458a24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
188188
}
189189
}
190190

191+
/** Returns true if the table is currently cached in-memory. */
191192
def isCached(tableName: String): Boolean = {
192193
val relation = catalog.lookupRelation(None, tableName)
193194
EliminateAnalysisOperators(relation) match {

0 commit comments

Comments
 (0)