PL
Size: a a a
PL
DC
SELECT
month AS month_2,
itemId AS itemId_2,
type AS type_2,
argMax( quantilesTDigestMerge(0.1, 0.15, 0.2, 0.25, 1)(value), version) AS value_2,
max(version) AS version_2
FROM db1.t2
WHERE
month = '2020-08-01'
AND itemId % 10 = 0
GROUP BY
month_2,
type_2,
itemId_2
PL
SELECT
month AS month_2,
itemId AS itemId_2,
type AS type_2,
argMax( quantilesTDigestMerge(0.1, 0.15, 0.2, 0.25, 1)(value), version) AS value_2,
max(version) AS version_2
FROM db1.t2
WHERE
month = '2020-08-01'
AND itemId % 10 = 0
GROUP BY
month_2,
type_2,
itemId_2
PL
DC
PL
D
DC
D
D
OK
AE
IA
-
AK
MG
-
SC