mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
98 lines
2.5 KiB
Plaintext
98 lines
2.5 KiB
Plaintext
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Union",
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Expression",
|
|
"Plans": [
|
|
{
|
|
"Node Type": "ReadFromStorage"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Node Type": "Expression",
|
|
"Plans": [
|
|
{
|
|
"Node Type": "ReadFromStorage"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
--------
|
|
"Header": [
|
|
{
|
|
"Name": "1",
|
|
"Type": "UInt8"
|
|
},
|
|
{
|
|
"Name": "plus(2, dummy)",
|
|
"Type": "UInt16"
|
|
}
|
|
--------
|
|
"Node Type": "Aggregating",
|
|
"Header": [
|
|
{
|
|
"Name": "number_0",
|
|
"Type": "UInt64"
|
|
},
|
|
{
|
|
"Name": "quantile(0.2_Float64)(number_0)",
|
|
"Type": "Float64"
|
|
},
|
|
{
|
|
"Name": "sumIf(number_0, greater(number_0, 0_UInt8))",
|
|
"Type": "UInt64"
|
|
}
|
|
],
|
|
"Keys": ["number_0"],
|
|
"Aggregates": [
|
|
{
|
|
"Name": "quantile(0.2_Float64)(number_0)",
|
|
"Function": {
|
|
"Name": "quantile",
|
|
"Parameters": ["0.2"],
|
|
"Argument Types": ["UInt64"],
|
|
"Result Type": "Float64"
|
|
},
|
|
"Arguments": ["number_0"]
|
|
},
|
|
{
|
|
"Name": "sumIf(number_0, greater(number_0, 0_UInt8))",
|
|
"Function": {
|
|
"Name": "sumIf",
|
|
"Argument Types": ["UInt64", "UInt8"],
|
|
"Result Type": "UInt64"
|
|
},
|
|
"Arguments": ["number_0", "greater(number_0, 0_UInt8)"]
|
|
}
|
|
],
|
|
--------
|
|
"Node Type": "ArrayJoin",
|
|
"Left": false,
|
|
"Columns": ["x_0", "y_1"],
|
|
--------
|
|
"Node Type": "Distinct",
|
|
"Columns": ["intDiv(number_0, 2_UInt8)", "intDiv(number_0, 3_UInt8)"],
|
|
--
|
|
"Node Type": "Distinct",
|
|
"Columns": ["intDiv(number_0, 2_UInt8)", "intDiv(number_0, 3_UInt8)"],
|
|
--------
|
|
"Sort Description": [
|
|
{
|
|
"Column": "number_0",
|
|
"Ascending": false,
|
|
"With Fill": false
|
|
},
|
|
{
|
|
"Column": "plus(number_0, 1_UInt8)",
|
|
"Ascending": true,
|
|
"With Fill": false
|
|
}
|
|
],
|
|
"Limit": 3,
|