Skip to content

Commit

Permalink
[SPARK-18169][SQL] Suppress warnings when dropping views on a dropped…
Browse files Browse the repository at this point in the history
… table
  • Loading branch information
dongjoon-hyun committed Nov 10, 2016
1 parent 6021c95 commit fef9981
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ case class DropTableCommand(
sparkSession.sharedState.cacheManager.uncacheQuery(
sparkSession.table(tableName.quotedString))
} catch {
case ae: AnalysisException if ae.getMessage.contains("Table or view not found") =>
case NonFatal(e) => log.warn(e.toString, e)
}
catalog.refreshTable(tableName)
Expand Down

0 comments on commit fef9981

Please sign in to comment.