Description
The following query:
SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((tab1.a, tab1.b))
results in the following error:
ParseException line 7:22 missing ) at ',' near '<EOF>' line 7:31 extraneous input ')' expecting EOF near '<EOF>'
Changing the query to:
SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((a, tab1.b))
makes it work.