File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 <~ " )" ^^
You can’t perform that action at this time.
0 commit comments