Join GitHub today
quill-spark: Group by with multiple columns in group by fails #1023
Version: "io.getquill" %% "quill-spark" % "2.3.2" (with scala: 2.11.8)
Grouping by multiple columns should create a valid spark SQL statement
Grouping by multiple columns generates invalid spark SQL
Steps to reproduce the behavior
The spark sql grammar does not support parens around the group by args. when the parser tries to parse this query you get an error like follows:
If you copy paste this query and remove the parens around the group by the query is valid and works correctly.