Skip to content

Commit

Permalink
Revert "[SPARK-12719][HOTFIX] Fix compilation against Scala 2.10"
Browse files Browse the repository at this point in the history
This reverts commit 3ee7996.
  • Loading branch information
yhuai committed Mar 17, 2016
1 parent edf8b87 commit 4c08e2c
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,14 +481,14 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext) extends Loggi
}

private def addSubqueryIfNeeded(plan: LogicalPlan): LogicalPlan = plan match {
case _: SubqueryAlias => plan
case _: Filter => plan
case _: Join => plan
case _: LocalLimit => plan
case _: GlobalLimit => plan
case _: SQLTable => plan
case _: Generate => plan
case _: OneRowRelation => plan
case _: SubqueryAlias |
_: Filter |
_: Join |
_: LocalLimit |
_: GlobalLimit |
_: SQLTable |
_: Generate |
OneRowRelation => plan
case _ => addSubquery(plan)
}
}
Expand Down

0 comments on commit 4c08e2c

Please sign in to comment.