blob: a39958bac3aa6b9dd11069895536a6f46f89e9da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* syntax version 1 */
/* postgres can not */
use plato;
pragma EmitAggApply;
pragma yt.UseAggPhases = "1";
SELECT
key,
count(value),
count(distinct value)
FROM Input
GROUP BY key
ORDER BY key
|