mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +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(),
|
||||
min(string),
|
||||
max(string),
|
||||
min(float64),
|
||||
max(float64),
|
||||
avg(float64),
|
||||
sum(float64),
|
||||
min(float32),
|
||||
max(float32),
|
||||
avg(float32),
|
||||
sum(float32),
|
||||
floor(min(float64),5),
|
||||
floor(max(float64),5),
|
||||
floor(avg(float64),5),
|
||||
floor(sum(float64),5),
|
||||
floor(min(float32),5),
|
||||
floor(max(float32),5),
|
||||
floor(avg(float32),5),
|
||||
floor(sum(float32),5),
|
||||
min(decimal325),
|
||||
max(decimal325),
|
||||
avg(decimal325),
|
||||
@ -195,14 +195,14 @@ select ' ---- select with states ---- ';
|
||||
SELECT id, count(),
|
||||
minMerge(stringMin),
|
||||
maxMerge(stringMax),
|
||||
minMerge(float64Min),
|
||||
maxMerge(float64Max),
|
||||
avgMerge(float64Avg),
|
||||
sumMerge(float64Sum),
|
||||
minMerge(float32Min),
|
||||
maxMerge(float32Max),
|
||||
avgMerge(float32Avg),
|
||||
sumMerge(float32Sum),
|
||||
floor(minMerge(float64Min),5),
|
||||
floor(maxMerge(float64Max),5),
|
||||
floor(avgMerge(float64Avg),5),
|
||||
floor(sumMerge(float64Sum),5),
|
||||
floor(minMerge(float32Min),5),
|
||||
floor(maxMerge(float32Max),5),
|
||||
floor(avgMerge(float32Avg),5),
|
||||
floor(sumMerge(float32Sum),5),
|
||||
minMerge(decimal325Min),
|
||||
maxMerge(decimal325Max),
|
||||
avgMerge(decimal325Avg),
|
||||
@ -239,14 +239,14 @@ select ' ---- select row with nulls without states ---- ';
|
||||
SELECT id, count(),
|
||||
min(string),
|
||||
max(string),
|
||||
min(float64),
|
||||
max(float64),
|
||||
avg(float64),
|
||||
sum(float64),
|
||||
min(float32),
|
||||
max(float32),
|
||||
avg(float32),
|
||||
sum(float32),
|
||||
floor(min(float64),5),
|
||||
floor(max(float64),5),
|
||||
floor(avg(float64),5),
|
||||
floor(sum(float64),5),
|
||||
floor(min(float32),5),
|
||||
floor(max(float32),5),
|
||||
floor(avg(float32),5),
|
||||
floor(sum(float32),5),
|
||||
min(decimal325),
|
||||
max(decimal325),
|
||||
avg(decimal325),
|
||||
@ -283,14 +283,14 @@ select ' ---- select row with nulls with states ---- ';
|
||||
SELECT id, count(),
|
||||
minMerge(stringMin),
|
||||
maxMerge(stringMax),
|
||||
minMerge(float64Min),
|
||||
maxMerge(float64Max),
|
||||
avgMerge(float64Avg),
|
||||
sumMerge(float64Sum),
|
||||
minMerge(float32Min),
|
||||
maxMerge(float32Max),
|
||||
avgMerge(float32Avg),
|
||||
sumMerge(float32Sum),
|
||||
floor(minMerge(float64Min),5),
|
||||
floor(maxMerge(float64Max),5),
|
||||
floor(avgMerge(float64Avg),5),
|
||||
floor(sumMerge(float64Sum),5),
|
||||
floor(minMerge(float32Min),5),
|
||||
floor(maxMerge(float32Max),5),
|
||||
floor(avgMerge(float32Avg),5),
|
||||
floor(sumMerge(float32Sum),5),
|
||||
minMerge(decimal325Min),
|
||||
maxMerge(decimal325Max),
|
||||
avgMerge(decimal325Avg),
|
||||
@ -328,14 +328,14 @@ select ' ---- select no rows without states ---- ';
|
||||
SELECT count(),
|
||||
min(string),
|
||||
max(string),
|
||||
min(float64),
|
||||
max(float64),
|
||||
avg(float64),
|
||||
sum(float64),
|
||||
min(float32),
|
||||
max(float32),
|
||||
avg(float32),
|
||||
sum(float32),
|
||||
floor(min(float64),5),
|
||||
floor(max(float64),5),
|
||||
floor(avg(float64),5),
|
||||
floor(sum(float64),5),
|
||||
floor(min(float32),5),
|
||||
floor(max(float32),5),
|
||||
floor(avg(float32),5),
|
||||
floor(sum(float32),5),
|
||||
min(decimal325),
|
||||
max(decimal325),
|
||||
avg(decimal325),
|
||||
@ -370,14 +370,14 @@ select ' ---- select no rows with states ---- ';
|
||||
SELECT count(),
|
||||
minMerge(stringMin),
|
||||
maxMerge(stringMax),
|
||||
minMerge(float64Min),
|
||||
maxMerge(float64Max),
|
||||
avgMerge(float64Avg),
|
||||
sumMerge(float64Sum),
|
||||
minMerge(float32Min),
|
||||
maxMerge(float32Max),
|
||||
avgMerge(float32Avg),
|
||||
sumMerge(float32Sum),
|
||||
floor(minMerge(float64Min),5),
|
||||
floor(maxMerge(float64Max),5),
|
||||
floor(avgMerge(float64Avg),5),
|
||||
floor(sumMerge(float64Sum),5),
|
||||
floor(minMerge(float32Min),5),
|
||||
floor(maxMerge(float32Max),5),
|
||||
floor(avgMerge(float32Avg),5),
|
||||
floor(sumMerge(float32Sum),5),
|
||||
minMerge(decimal325Min),
|
||||
maxMerge(decimal325Max),
|
||||
avgMerge(decimal325Avg),
|
||||
@ -409,4 +409,3 @@ WHERE id = '-22';
|
||||
|
||||
DROP TABLE testNullableStates;
|
||||
DROP TABLE testNullableStatesAgg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user