mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
fix for floats
This commit is contained in:
parent
1dea2fd1dd
commit
5cd396b1b5
File diff suppressed because it is too large
Load Diff
@ -152,14 +152,14 @@ select ' ---- select without states ---- ';
|
|||||||
SELECT id, count(),
|
SELECT id, count(),
|
||||||
min(string),
|
min(string),
|
||||||
max(string),
|
max(string),
|
||||||
min(float64),
|
floor(min(float64),5),
|
||||||
max(float64),
|
floor(max(float64),5),
|
||||||
avg(float64),
|
floor(avg(float64),5),
|
||||||
sum(float64),
|
floor(sum(float64),5),
|
||||||
min(float32),
|
floor(min(float32),5),
|
||||||
max(float32),
|
floor(max(float32),5),
|
||||||
avg(float32),
|
floor(avg(float32),5),
|
||||||
sum(float32),
|
floor(sum(float32),5),
|
||||||
min(decimal325),
|
min(decimal325),
|
||||||
max(decimal325),
|
max(decimal325),
|
||||||
avg(decimal325),
|
avg(decimal325),
|
||||||
@ -195,14 +195,14 @@ select ' ---- select with states ---- ';
|
|||||||
SELECT id, count(),
|
SELECT id, count(),
|
||||||
minMerge(stringMin),
|
minMerge(stringMin),
|
||||||
maxMerge(stringMax),
|
maxMerge(stringMax),
|
||||||
minMerge(float64Min),
|
floor(minMerge(float64Min),5),
|
||||||
maxMerge(float64Max),
|
floor(maxMerge(float64Max),5),
|
||||||
avgMerge(float64Avg),
|
floor(avgMerge(float64Avg),5),
|
||||||
sumMerge(float64Sum),
|
floor(sumMerge(float64Sum),5),
|
||||||
minMerge(float32Min),
|
floor(minMerge(float32Min),5),
|
||||||
maxMerge(float32Max),
|
floor(maxMerge(float32Max),5),
|
||||||
avgMerge(float32Avg),
|
floor(avgMerge(float32Avg),5),
|
||||||
sumMerge(float32Sum),
|
floor(sumMerge(float32Sum),5),
|
||||||
minMerge(decimal325Min),
|
minMerge(decimal325Min),
|
||||||
maxMerge(decimal325Max),
|
maxMerge(decimal325Max),
|
||||||
avgMerge(decimal325Avg),
|
avgMerge(decimal325Avg),
|
||||||
@ -239,14 +239,14 @@ select ' ---- select row with nulls without states ---- ';
|
|||||||
SELECT id, count(),
|
SELECT id, count(),
|
||||||
min(string),
|
min(string),
|
||||||
max(string),
|
max(string),
|
||||||
min(float64),
|
floor(min(float64),5),
|
||||||
max(float64),
|
floor(max(float64),5),
|
||||||
avg(float64),
|
floor(avg(float64),5),
|
||||||
sum(float64),
|
floor(sum(float64),5),
|
||||||
min(float32),
|
floor(min(float32),5),
|
||||||
max(float32),
|
floor(max(float32),5),
|
||||||
avg(float32),
|
floor(avg(float32),5),
|
||||||
sum(float32),
|
floor(sum(float32),5),
|
||||||
min(decimal325),
|
min(decimal325),
|
||||||
max(decimal325),
|
max(decimal325),
|
||||||
avg(decimal325),
|
avg(decimal325),
|
||||||
@ -283,14 +283,14 @@ select ' ---- select row with nulls with states ---- ';
|
|||||||
SELECT id, count(),
|
SELECT id, count(),
|
||||||
minMerge(stringMin),
|
minMerge(stringMin),
|
||||||
maxMerge(stringMax),
|
maxMerge(stringMax),
|
||||||
minMerge(float64Min),
|
floor(minMerge(float64Min),5),
|
||||||
maxMerge(float64Max),
|
floor(maxMerge(float64Max),5),
|
||||||
avgMerge(float64Avg),
|
floor(avgMerge(float64Avg),5),
|
||||||
sumMerge(float64Sum),
|
floor(sumMerge(float64Sum),5),
|
||||||
minMerge(float32Min),
|
floor(minMerge(float32Min),5),
|
||||||
maxMerge(float32Max),
|
floor(maxMerge(float32Max),5),
|
||||||
avgMerge(float32Avg),
|
floor(avgMerge(float32Avg),5),
|
||||||
sumMerge(float32Sum),
|
floor(sumMerge(float32Sum),5),
|
||||||
minMerge(decimal325Min),
|
minMerge(decimal325Min),
|
||||||
maxMerge(decimal325Max),
|
maxMerge(decimal325Max),
|
||||||
avgMerge(decimal325Avg),
|
avgMerge(decimal325Avg),
|
||||||
@ -328,14 +328,14 @@ select ' ---- select no rows without states ---- ';
|
|||||||
SELECT count(),
|
SELECT count(),
|
||||||
min(string),
|
min(string),
|
||||||
max(string),
|
max(string),
|
||||||
min(float64),
|
floor(min(float64),5),
|
||||||
max(float64),
|
floor(max(float64),5),
|
||||||
avg(float64),
|
floor(avg(float64),5),
|
||||||
sum(float64),
|
floor(sum(float64),5),
|
||||||
min(float32),
|
floor(min(float32),5),
|
||||||
max(float32),
|
floor(max(float32),5),
|
||||||
avg(float32),
|
floor(avg(float32),5),
|
||||||
sum(float32),
|
floor(sum(float32),5),
|
||||||
min(decimal325),
|
min(decimal325),
|
||||||
max(decimal325),
|
max(decimal325),
|
||||||
avg(decimal325),
|
avg(decimal325),
|
||||||
@ -370,14 +370,14 @@ select ' ---- select no rows with states ---- ';
|
|||||||
SELECT count(),
|
SELECT count(),
|
||||||
minMerge(stringMin),
|
minMerge(stringMin),
|
||||||
maxMerge(stringMax),
|
maxMerge(stringMax),
|
||||||
minMerge(float64Min),
|
floor(minMerge(float64Min),5),
|
||||||
maxMerge(float64Max),
|
floor(maxMerge(float64Max),5),
|
||||||
avgMerge(float64Avg),
|
floor(avgMerge(float64Avg),5),
|
||||||
sumMerge(float64Sum),
|
floor(sumMerge(float64Sum),5),
|
||||||
minMerge(float32Min),
|
floor(minMerge(float32Min),5),
|
||||||
maxMerge(float32Max),
|
floor(maxMerge(float32Max),5),
|
||||||
avgMerge(float32Avg),
|
floor(avgMerge(float32Avg),5),
|
||||||
sumMerge(float32Sum),
|
floor(sumMerge(float32Sum),5),
|
||||||
minMerge(decimal325Min),
|
minMerge(decimal325Min),
|
||||||
maxMerge(decimal325Max),
|
maxMerge(decimal325Max),
|
||||||
avgMerge(decimal325Avg),
|
avgMerge(decimal325Avg),
|
||||||
@ -409,4 +409,3 @@ WHERE id = '-22';
|
|||||||
|
|
||||||
DROP TABLE testNullableStates;
|
DROP TABLE testNullableStates;
|
||||||
DROP TABLE testNullableStatesAgg;
|
DROP TABLE testNullableStatesAgg;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user