Skip to content

Commit

Permalink
Add todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Apr 21, 2015
1 parent 92b2498 commit 1e5142b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ private[sql] case class RefreshTable(databaseName: String, tableName: String)
val isCached = sqlContext.cacheManager.lookupCachedData(logicalPlan).nonEmpty
if (isCached) {
// Create a data frame to represent the table.
// TODO: Use uncacheTable once it supports database name.
val df = DataFrame(sqlContext, logicalPlan)
// Uncache the logicalPlan.
sqlContext.cacheManager.tryUncacheQuery(df, blocking = true)
Expand Down

0 comments on commit 1e5142b

Please sign in to comment.