Skip to content

Commit

Permalink
Fix compilation in SQLBuilder.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Feb 13, 2016
1 parent ac3e978 commit 020fafe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext) extends Loggi
case p: Aggregate =>
aggregateToSQL(p)

case p: Limit =>
s"${toSQL(p.child)} LIMIT ${p.limitExpr.sql}"
case Limit(limitExpr, child) =>
s"${toSQL(child)} LIMIT ${limitExpr.sql}"

case p: Filter =>
val whereOrHaving = p.child match {
Expand Down

0 comments on commit 020fafe

Please sign in to comment.