Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated Analyzer.scala with the AnalysisException
As the exception type returned from the lookupRelation method is changed to AnalysisException, it is updated here also.
  • Loading branch information
thomastechs committed Jan 1, 2016
commit 66399565ad7cf71fcae4744dc157e6bc149b9da3
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class Analyzer(
try {
catalog.lookupRelation(u.tableIdentifier, u.alias)
} catch {
case _: NoSuchTableException =>
case _: AnalysisException =>
u.failAnalysis(s"Table not found: ${u.tableName}")
}
}
Expand Down