From f723cb6322caa2cd40fad2ea325c05f127fe6f1f Mon Sep 17 00:00:00 2001 From: gatorsmile Date: Fri, 30 Jun 2017 11:26:35 -0700 Subject: [PATCH] fix. --- .../apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala index 2cd861d433e68..45f9f72dccc45 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala @@ -231,6 +231,7 @@ class ExpressionParserSuite extends PlanTest { assertEqual("foo(distinct a, b)", 'foo.distinctFunction('a, 'b)) assertEqual("grouping(distinct a, b)", 'grouping.distinctFunction('a, 'b)) assertEqual("`select`(all a, b)", 'select.function('a, 'b)) + intercept("foo(a x)", "extraneous input 'x'") } test("window function expressions") {