Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Feb 12, 2015
1 parent af9e668 commit d4e9015
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class Analyzer(catalog: Catalog,
def failAnalysis(msg: String) = { throw new AnalysisException(msg) }

def apply(plan: LogicalPlan): LogicalPlan = {
// We transform up and order the rules so as to catch the first possible failure instead
// of the result of cascading resolution failures.
plan.foreachUp {
case operator: LogicalPlan =>
operator transformAllExpressions {
Expand Down

0 comments on commit d4e9015

Please sign in to comment.