Skip to content

Commit 1e5142b

Browse files
committed
Add todo.
1 parent 92b2498 commit 1e5142b

File tree

1 file changed

+1
-0
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/sources

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/sources/ddl.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ private[sql] case class RefreshTable(databaseName: String, tableName: String)
357357
val isCached = sqlContext.cacheManager.lookupCachedData(logicalPlan).nonEmpty
358358
if (isCached) {
359359
// Create a data frame to represent the table.
360+
// TODO: Use uncacheTable once it supports database name.
360361
val df = DataFrame(sqlContext, logicalPlan)
361362
// Uncache the logicalPlan.
362363
sqlContext.cacheManager.tryUncacheQuery(df, blocking = true)

0 commit comments

Comments
 (0)