ClickHouse/tests/queries/0_stateless/02477_fuse_quantiles.reference

83 lines
4.1 KiB
Plaintext
Raw Normal View History

799.2 Nullable(Float64) 899.1 Nullable(Float64)
800.2 Float64 900.1 Float64
2022-11-14 17:06:49 +00:00
800.2 Float64 100.9 Float64
498.5 500.5 800.2 801.2 900.1
2022-11-09 14:33:11 +00:00
501.5 501.5
QUERY id: 0
PROJECTION COLUMNS
quantile(0.5)(b) Float64
quantile(0.9)(b) Float64
PROJECTION
LIST id: 1, nodes: 2
FUNCTION id: 2, function_name: arrayElement, function_type: ordinary, result_type: Float64
ARGUMENTS
LIST id: 3, nodes: 2
FUNCTION id: 4, function_name: quantiles, function_type: aggregate, result_type: Array(Float64)
2022-11-14 17:06:49 +00:00
PARAMETERS
LIST id: 5, nodes: 2
CONSTANT id: 6, constant_value: Float64_0.5, constant_value_type: Float64
CONSTANT id: 7, constant_value: Float64_0.9, constant_value_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 8, nodes: 1
COLUMN id: 9, column_name: b, result_type: Float64, source_id: 10
CONSTANT id: 11, constant_value: UInt64_1, constant_value_type: UInt8
FUNCTION id: 12, function_name: arrayElement, function_type: ordinary, result_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 13, nodes: 2
2022-11-09 14:33:11 +00:00
FUNCTION id: 4, function_name: quantiles, function_type: aggregate, result_type: Array(Float64)
2022-11-14 17:06:49 +00:00
PARAMETERS
LIST id: 5, nodes: 2
CONSTANT id: 6, constant_value: Float64_0.5, constant_value_type: Float64
CONSTANT id: 7, constant_value: Float64_0.9, constant_value_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 8, nodes: 1
COLUMN id: 9, column_name: b, result_type: Float64, source_id: 10
CONSTANT id: 14, constant_value: UInt64_2, constant_value_type: UInt8
2022-11-09 14:33:11 +00:00
JOIN TREE
2022-11-14 17:06:49 +00:00
QUERY id: 10, is_subquery: 1
2022-11-09 14:33:11 +00:00
PROJECTION COLUMNS
b Float64
PROJECTION
2022-11-14 17:06:49 +00:00
LIST id: 15, nodes: 1
FUNCTION id: 16, function_name: plus, function_type: ordinary, result_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 17, nodes: 2
COLUMN id: 18, column_name: x, result_type: Float64, source_id: 19
CONSTANT id: 20, constant_value: UInt64_1, constant_value_type: UInt8
2022-11-09 14:33:11 +00:00
JOIN TREE
2022-11-14 17:06:49 +00:00
QUERY id: 19, is_subquery: 1
2022-11-09 14:33:11 +00:00
PROJECTION COLUMNS
x Float64
quantile(0.9)(b) Float64
PROJECTION
2022-11-14 17:06:49 +00:00
LIST id: 21, nodes: 2
FUNCTION id: 22, function_name: arrayElement, function_type: ordinary, result_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 23, nodes: 2
FUNCTION id: 24, function_name: quantiles, function_type: aggregate, result_type: Array(Float64)
PARAMETERS
LIST id: 25, nodes: 2
CONSTANT id: 26, constant_value: Float64_0.5, constant_value_type: Float64
CONSTANT id: 27, constant_value: Float64_0.9, constant_value_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 28, nodes: 1
COLUMN id: 29, column_name: b, result_type: Int32, source_id: 30
CONSTANT id: 31, constant_value: UInt64_1, constant_value_type: UInt8
FUNCTION id: 32, function_name: arrayElement, function_type: ordinary, result_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 33, nodes: 2
FUNCTION id: 24, function_name: quantiles, function_type: aggregate, result_type: Array(Float64)
PARAMETERS
LIST id: 25, nodes: 2
CONSTANT id: 26, constant_value: Float64_0.5, constant_value_type: Float64
CONSTANT id: 27, constant_value: Float64_0.9, constant_value_type: Float64
2022-11-09 14:33:11 +00:00
ARGUMENTS
2022-11-14 17:06:49 +00:00
LIST id: 28, nodes: 1
COLUMN id: 29, column_name: b, result_type: Int32, source_id: 30
CONSTANT id: 34, constant_value: UInt64_2, constant_value_type: UInt8
2022-11-09 14:33:11 +00:00
JOIN TREE
2022-11-14 17:06:49 +00:00
TABLE id: 30, table_name: default.fuse_tbl
2022-11-09 14:33:11 +00:00
GROUP BY
2022-11-14 17:06:49 +00:00
LIST id: 35, nodes: 1
COLUMN id: 18, column_name: x, result_type: Float64, source_id: 19