Skip to content

Commit cc4dbb1

Browse files
committed
style
1 parent 070e12a commit cc4dbb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/SqlParser.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ class SqlParser extends AbstractSparkSQLParser {
277277
| SUM ~> "(" ~> DISTINCT ~> expression <~ ")" ^^ { case exp => SumDistinct(exp) }
278278
| COUNT ~ "(" ~> "*" <~ ")" ^^ { case _ => Count(Literal(1)) }
279279
| COUNT ~ "(" ~> expression <~ ")" ^^ { case exp => Count(exp) }
280-
| COUNT ~> "(" ~> DISTINCT ~> repsep(expression, ",") <~ ")" ^^ { case exps => CountDistinct(exps) }
280+
| COUNT ~> "(" ~> DISTINCT ~> repsep(expression, ",") <~ ")" ^^
281+
{ case exps => CountDistinct(exps) }
281282
| APPROXIMATE ~ COUNT ~ "(" ~ DISTINCT ~> expression <~ ")" ^^
282283
{ case exp => ApproxCountDistinct(exp) }
283284
| APPROXIMATE ~> "(" ~> floatLit ~ ")" ~ COUNT ~ "(" ~ DISTINCT ~ expression <~ ")" ^^

0 commit comments

Comments
 (0)