blob: 5434e8dea3125133898789a537fa062a685bfe3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* syntax version 1 */
SELECT
Histogram::Print(HISTOGRAM(key)) AS key_histogram,
Histogram::Print(HISTOGRAM(subkey)) AS subkey_histogram,
Histogram::Print(HISTOGRAM(value), 50) AS value_histogram
FROM (
SELECT
CAST(key AS Double) AS key,
CAST(subkey AS Double) AS subkey,
CAST(value AS Double) AS value
FROM Input
);
|