mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-10 16:32:12 +00:00
98 lines
2.6 KiB
Plaintext
98 lines
2.6 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": "__table1.number",
|
|
"Type": "UInt64"
|
|
},
|
|
{
|
|
"Name": "quantile(0.2_Float64)(__table1.number)",
|
|
"Type": "Float64"
|
|
},
|
|
{
|
|
"Name": "sumIf(__table1.number, greater(__table1.number, 0_UInt8))",
|
|
"Type": "UInt64"
|
|
}
|
|
],
|
|
"Keys": ["__table1.number"],
|
|
"Aggregates": [
|
|
{
|
|
"Name": "quantile(0.2_Float64)(__table1.number)",
|
|
"Function": {
|
|
"Name": "quantile",
|
|
"Parameters": ["0.2"],
|
|
"Argument Types": ["UInt64"],
|
|
"Result Type": "Float64"
|
|
},
|
|
"Arguments": ["__table1.number"]
|
|
},
|
|
{
|
|
"Name": "sumIf(__table1.number, greater(__table1.number, 0_UInt8))",
|
|
"Function": {
|
|
"Name": "sumIf",
|
|
"Argument Types": ["UInt64", "UInt8"],
|
|
"Result Type": "UInt64"
|
|
},
|
|
"Arguments": ["__table1.number", "greater(__table1.number, 0_UInt8)"]
|
|
}
|
|
],
|
|
--------
|
|
"Node Type": "ArrayJoin",
|
|
"Left": false,
|
|
"Columns": ["__table1.x", "__table1.y"],
|
|
--------
|
|
"Node Type": "Distinct",
|
|
"Columns": ["intDiv(__table1.number, 2_UInt8)", "intDiv(__table1.number, 3_UInt8)"],
|
|
--
|
|
"Node Type": "Distinct",
|
|
"Columns": ["intDiv(__table1.number, 2_UInt8)", "intDiv(__table1.number, 3_UInt8)"],
|
|
--------
|
|
"Sort Description": [
|
|
{
|
|
"Column": "__table1.number",
|
|
"Ascending": false,
|
|
"With Fill": false
|
|
},
|
|
{
|
|
"Column": "plus(__table1.number, 1_UInt8)",
|
|
"Ascending": true,
|
|
"With Fill": false
|
|
}
|
|
],
|
|
"Limit": 3,
|