aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/blocks/combine_all_max.sql
blob: a57479a25113921ba3963b1da9807da42ebadacb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
USE plato;

SELECT
    max(key),
    max(cast(key as int8)),
    max(cast(key as uint16)),
    max(cast(key as int32)),
    max(1u/0u),
    max(2),
    max(if(key=10u,key)),
    max(if(key=100u,key)),
    max(false),
    max(key=10u),
    max(key>=10u),
    max(key=20u),
    max(if(key=10u,true)),
    max(if(key=100u,true)),
    max(if(key>=10u,true)),
FROM Input