1 2 3 4 5 6 7
pragma yt.UsePartitionsByKeysForFinalAgg="false"; USE plato; SELECT sum(distinct key),min(distinct key) FROM Input