aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/aggregate/group_by_rollup_udf.sql
blob: ee546d63e766926f8b23233466dc28415ae63698 (plain) (blame)
1
2
3
4
5
6
/* syntax version 1 */
/* postgres can not */
use plato;

select key, subkey, Unicode::ToUpper(CAST(value AS Utf8)) as value, count(1) as cnt from Input GROUP BY ROLLUP(key,subkey, value) ORDER BY key,subkey,value,cnt;