ClickHouse/tests/queries/0_stateless/01823_explain_json.reference

98 lines
2.5 KiB
Plaintext
Raw Normal View History

[
{
"Plan": {
"Node Type": "Union",
"Plans": [
{
"Node Type": "Expression",
"Plans": [
{
2022-06-01 11:51:56 +00:00
"Node Type": "ReadFromStorage"
}
]
},
{
"Node Type": "Expression",
"Plans": [
{
2022-06-01 11:51:56 +00:00
"Node Type": "ReadFromStorage"
}
]
}
]
}
}
]
--------
"Header": [
{
"Name": "1",
"Type": "UInt8"
},
{
"Name": "plus(2, dummy)",
"Type": "UInt16"
}
--------
"Node Type": "Aggregating",
"Header": [
{
2023-03-05 20:45:53 +00:00
"Name": "number_0",
"Type": "UInt64"
},
{
2023-03-05 20:45:53 +00:00
"Name": "quantile(0.2_Float64)(number_0)",
"Type": "Float64"
},
{
2023-03-05 20:45:53 +00:00
"Name": "sumIf(number_0, greater(number_0, 0_UInt8))",
"Type": "UInt64"
}
],
2023-03-05 20:45:53 +00:00
"Keys": ["number_0"],
"Aggregates": [
{
2023-03-05 20:45:53 +00:00
"Name": "quantile(0.2_Float64)(number_0)",
"Function": {
"Name": "quantile",
"Parameters": ["0.2"],
"Argument Types": ["UInt64"],
"Result Type": "Float64"
},
2023-03-05 20:45:53 +00:00
"Arguments": ["number_0"]
},
{
2023-03-05 20:45:53 +00:00
"Name": "sumIf(number_0, greater(number_0, 0_UInt8))",
"Function": {
"Name": "sumIf",
"Argument Types": ["UInt64", "UInt8"],
"Result Type": "UInt64"
},
2023-03-05 20:45:53 +00:00
"Arguments": ["number_0", "greater(number_0, 0_UInt8)"]
}
],
--------
"Node Type": "ArrayJoin",
"Left": false,
2023-03-05 20:45:53 +00:00
"Columns": ["x_0", "y_1"],
--------
"Node Type": "Distinct",
2023-03-05 20:45:53 +00:00
"Columns": ["intDiv(number_0, 2_UInt8)", "intDiv(number_0, 3_UInt8)"],
--
"Node Type": "Distinct",
2023-03-05 20:45:53 +00:00
"Columns": ["intDiv(number_0, 2_UInt8)", "intDiv(number_0, 3_UInt8)"],
--------
"Sort Description": [
{
2023-03-05 20:45:53 +00:00
"Column": "number_0",
"Ascending": false,
"With Fill": false
},
{
2023-03-05 20:45:53 +00:00
"Column": "plus(number_0, 1_UInt8)",
"Ascending": true,
"With Fill": false
}
],
"Limit": 3,