ClickHouse/tests/queries/0_stateless/01602_array_aggregation.reference

61 lines
965 B
Plaintext
Raw Normal View History

2020-12-12 21:29:09 +00:00
Array min 1
Array max 6
Array sum 21
2020-12-16 20:10:40 +00:00
Array avg 3.5
2020-12-12 21:29:09 +00:00
Table array int min
1
0
1
Table array int max
6
0
3
Table array int sum
21
0
6
Table array int avg
2020-12-16 20:10:40 +00:00
3.5
2020-12-12 21:29:09 +00:00
0
2
Table array decimal min
2021-08-15 07:53:46 +00:00
1
0
1
2020-12-12 21:29:09 +00:00
Table array decimal max
2021-08-15 07:53:46 +00:00
6
0
3
2020-12-12 21:29:09 +00:00
Table array decimal sum
2021-08-15 07:53:46 +00:00
21
0
6
2020-12-12 21:29:09 +00:00
Table array decimal avg
2020-12-13 18:27:48 +00:00
3.5
0
2
Types of aggregation result array min
Int8 Int16 Int32 Int64
UInt8 UInt16 UInt32 UInt64
Int128 Int256 UInt256
2020-12-13 18:27:48 +00:00
Float32 Float64
Decimal(9, 8) Decimal(18, 8) Decimal(38, 8)
Types of aggregation result array max
Int8 Int16 Int32 Int64
UInt8 UInt16 UInt32 UInt64
Int128 Int256 UInt256
2020-12-13 18:27:48 +00:00
Float32 Float64
Decimal(9, 8) Decimal(18, 8) Decimal(38, 8)
Types of aggregation result array summ
Int64 Int64 Int64 Int64
UInt64 UInt64 UInt64 UInt64
Int128 Int256 UInt256
2020-12-13 18:27:48 +00:00
Float64 Float64
Decimal(38, 8) Decimal(38, 8) Decimal(38, 8)
Types of aggregation result array avg
Float64 Float64 Float64 Float64
Float64 Float64 Float64 Float64
Float64 Float64 Float64
2020-12-13 18:27:48 +00:00
Float64 Float64
Float64 Float64 Float64