aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorWenchen Fan <wenchen@databricks.com>2016-03-11 13:52:11 +0800
committerWenchen Fan <wenchen@databricks.com>2016-03-11 13:52:11 +0800
commit74c4e2651fa27d65ad1fb71c1855f5c44a37a462 (patch)
treed7ed67edcc92a626b53cba1564c81c07e05e94f4 /sql
parent6871cc8f3eb54ad674dea89645599c92a8b94415 (diff)
downloadspark-74c4e2651fa27d65ad1fb71c1855f5c44a37a462.tar.gz
spark-74c4e2651fa27d65ad1fb71c1855f5c44a37a462.tar.bz2
spark-74c4e2651fa27d65ad1fb71c1855f5c44a37a462.zip
[HOT-FIX] fix compile
Fix the compilation failure introduced by https://github.com/apache/spark/pull/11555 because of a merge conflict. Author: Wenchen Fan <wenchen@databricks.com> Closes #11648 from cloud-fan/hotbug.
Diffstat (limited to 'sql')
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala
index bf12982da7..760335bba5 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala
@@ -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
@@ -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