Leonid Chistov created CALCITE-5411:
---------------------------------------

             Summary: Update Spark Dialect to support ROLLUP & CUBE aggregate 
functions.
                 Key: CALCITE-5411
                 URL: https://issues.apache.org/jira/browse/CALCITE-5411
             Project: Calcite
          Issue Type: Task
    Affects Versions: 1.32.0
            Reporter: Leonid Chistov
            Assignee: Leonid Chistov


Support for standard
GROUP BY \{ group_expression | { ROLLUP | CUBE | GROUPING SETS } (grouping_set 
[ , ...]) } [ , ... ]
 syntax was added to Spark several releases ago in addition to the previously 
supported non-standard syntax 
GROUP BY group_expression [ , group_expression [ , ... ] ] [ WITH \{ ROLLUP | 
CUBE } ]
See: 
[https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-groupby.html]

We need to update `SparkSqlDialect` implementation to reflect these changes in 
supported SQL syntax.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to