From 739f1111f1e59f81ab74697fb61b16b2816aa311 Mon Sep 17 00:00:00 2001 From: Ferdinand Xu Date: Mon, 18 Jan 2016 21:50:50 -0500 Subject: [PATCH] Rebase code --- .../scala/org/apache/spark/sql/execution/SparkSQLParser.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSQLParser.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSQLParser.scala index b6189e1961552..75fa85cf8e973 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSQLParser.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSQLParser.scala @@ -94,7 +94,7 @@ class SparkSQLParser(fallback: => ParserInterface) extends AbstractSparkSQLParse private lazy val setRole: Parser[LogicalPlan] = SET ~ ROLE ~ ident ^^ { - case set ~ role ~ roleName => fallback(List(set, role, roleName).mkString(" ")) + case set ~ role ~ roleName => fallback.parsePlan(List(set, role, roleName).mkString(" ")) } private lazy val set: Parser[LogicalPlan] =