ClickHouse/tests/queries/0_stateless/01470_columns_transformers.reference

93 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-08-29 05:33:46 +00:00
220 18 347
2020-10-23 09:15:55 +00:00
220 18 347
2020-08-29 05:33:46 +00:00
110 9 173.5
1970-04-11 1970-01-11 1970-11-21
2 3
1 2
18 347
110 173.5
1970-04-11 1970-01-11 1970-11-21
2020-10-23 09:15:55 +00:00
10 324
8 23
324
23
2020-10-23 09:15:55 +00:00
101 10 324
121 8 23
2020-08-29 05:33:46 +00:00
222 18 347
111 11 173.5
1970-04-11 1970-01-11 1970-11-21
SELECT
2020-08-29 05:33:46 +00:00
sum(i),
sum(j),
sum(k)
FROM columns_transformers
SELECT
2020-08-29 05:33:46 +00:00
avg(i),
avg(j),
avg(k)
FROM columns_transformers
SELECT
2021-01-13 14:11:17 +00:00
any(toDate(i)),
any(toDate(j)),
any(toDate(k))
2020-08-29 05:33:46 +00:00
FROM columns_transformers AS a
SELECT
2020-08-29 05:33:46 +00:00
length(toString(j)),
length(toString(k))
FROM columns_transformers
SELECT
2020-08-29 05:33:46 +00:00
sum(j),
sum(k)
FROM columns_transformers
SELECT
2020-08-29 05:33:46 +00:00
avg(i),
avg(k)
FROM columns_transformers
SELECT
2021-01-13 14:11:17 +00:00
any(toDate(i)),
any(toDate(j)),
any(toDate(k))
2020-08-29 05:33:46 +00:00
FROM columns_transformers AS a
SELECT
2020-08-29 05:33:46 +00:00
sum(i + 1 AS i),
sum(j),
sum(k)
FROM columns_transformers
SELECT
2020-08-29 05:33:46 +00:00
avg(i + 1 AS i),
avg(j + 2 AS j),
avg(k)
FROM columns_transformers
SELECT
2021-01-13 14:11:17 +00:00
any(toDate(i)),
any(toDate(j)),
any(toDate(k))
FROM columns_transformers AS a
SELECT
2020-08-29 05:33:46 +00:00
(i + 1) + 1 AS i,
j,
k
FROM columns_transformers
220 18 347
SELECT
sum(i),
sum(j),
sum(k)
FROM columns_transformers
2020-09-28 09:07:57 +00:00
100 10 100 10 324 10
120 8 120 8 23 8
SELECT
i,
j,
toFloat64(i),
toFloat64(j),
toFloat64(k),
j
FROM columns_transformers
2020-11-02 03:10:20 +00:00
[110] [9] [173.5]
SELECT
quantiles(0.5)(i),
quantiles(0.5)(j),
quantiles(0.5)(k)
FROM columns_transformers