Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
scwf committed Apr 29, 2015
1 parent 1c9a092 commit 29aaaaf
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ class Analyzer(
val resolver = if (caseSensitive) caseSensitiveResolution else caseInsensitiveResolution

val fixedPoint = FixedPoint(maxIterations)

/**
* Override to provide additional rules for the "Substitution" batch.
*/
val extendedSubstitutionRules: Seq[Rule[LogicalPlan]] = Nil

/**
* Override to provide additional rules for the "Resolution" batch.
Expand All @@ -60,8 +55,7 @@ class Analyzer(
lazy val batches: Seq[Batch] = Seq(
Batch("Substitution", fixedPoint,
CTESubstitution ::
Nil ++
extendedSubstitutionRules : _*),
Nil : _*),
Batch("Resolution", fixedPoint,
ResolveRelations ::
ResolveReferences ::
Expand Down Expand Up @@ -223,7 +217,7 @@ class Analyzer(
case i@InsertIntoTable(u: UnresolvedRelation, _, _, _, _) =>
i.copy(table = EliminateSubQueries(getTable(u)))
case u: UnresolvedRelation =>
getTable(u, cteRelations)
getTable(u)
}
}

Expand Down

0 comments on commit 29aaaaf

Please sign in to comment.