blob: 1f45427b8700764485e4e3e5c5504112b88e80b8 (
plain) (
blame)
1
2
3
4
5
6
7
|
pragma yt.UsePartitionsByKeysForFinalAgg="false";
USE plato;
SELECT
count(*),max(subkey),sum(distinct subkey),avg(subkey),count(distinct subkey/2u),avg(distinct subkey/2u)
FROM Input
|