Skip to content

Commit

Permalink
[HOT-FIX] fix compile
Browse files Browse the repository at this point in the history
Fix the compilation failure introduced by apache#11555 because of a merge conflict.

Author: Wenchen Fan <wenchen@databricks.com>

Closes apache#11648 from cloud-fan/hotbug.
  • Loading branch information
cloud-fan authored and roygao94 committed Mar 22, 2016
1 parent ee8898b commit a219e75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext) extends Loggi
// +- MetastoreRelation default, src, None
case plan @ Project(_, Filter(_, _: Aggregate)) => wrapChildWithSubquery(plan)

case w @ Window(_, _, _, _, Filter(_, _: Aggregate)) => wrapChildWithSubquery(w)
case w @ Window(_, _, _, Filter(_, _: Aggregate)) => wrapChildWithSubquery(w)

case plan @ Project(_,
_: SubqueryAlias
Expand All @@ -373,7 +373,7 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext) extends Loggi

// We will generate "SELECT ... FROM ..." for Window operator, so its child operator should
// be able to put in the FROM clause, or we wrap it with a subquery.
case w @ Window(_, _, _, _,
case w @ Window(_, _, _,
_: SubqueryAlias
| _: Filter
| _: Join
Expand Down

0 comments on commit a219e75

Please sign in to comment.