aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/blocks/combine_hashed_max.sql
blob: 5719f8c8ed83d26556213b685439ec56d7db3827 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
USE plato;

SELECT
    key,
    max(1u/(4u-subkey)),
    max(subkey),
    max(1u),
    max(1u/0u)
FROM Input
GROUP by key
ORDER by key