ClickHouse/tests/queries/0_stateless/01786_explain_merge_tree.reference

110 lines
3.3 KiB
Plaintext
Raw Normal View History

2021-04-08 15:19:49 +00:00
ReadFromMergeTree
Indexes:
MinMax
2021-04-16 09:43:11 +00:00
Keys:
y
2021-06-19 14:59:53 +00:00
Condition: (y in [1, +Inf))
2021-04-16 09:43:11 +00:00
Parts: 4/5
Granules: 11/12
2021-04-08 15:19:49 +00:00
Partition
2021-04-16 09:43:11 +00:00
Keys:
y
bitAnd(z, 3)
2021-06-19 14:59:53 +00:00
Condition: and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +Inf)), (bitAnd(z, 3) not in [1, 1])))
2021-04-16 09:43:11 +00:00
Parts: 3/4
Granules: 10/11
2021-04-08 15:19:49 +00:00
PrimaryKey
2021-04-16 09:43:11 +00:00
Keys:
x
y
2021-06-19 14:59:53 +00:00
Condition: and((x in [11, +Inf)), (y in [1, +Inf)))
2021-04-16 09:43:11 +00:00
Parts: 2/3
Granules: 6/10
2021-04-08 15:19:49 +00:00
Skip
Name: t_minmax
2021-04-16 09:43:11 +00:00
Description: minmax GRANULARITY 2
Parts: 1/2
Granules: 2/6
2021-04-08 15:19:49 +00:00
Skip
Name: t_set
2021-04-16 09:43:11 +00:00
Description: set GRANULARITY 2
Parts: 1/1
Granules: 1/2
-----------------
"Node Type": "ReadFromMergeTree",
"Indexes": [
{
"Type": "MinMax",
"Keys": ["y"],
2021-06-19 14:59:53 +00:00
"Condition": "(y in [1, +Inf))",
"Initial Parts": 5,
"Selected Parts": 4,
"Initial Granules": 12,
"Selected Granules": 11
},
{
"Type": "Partition",
"Keys": ["y", "bitAnd(z, 3)"],
2021-06-19 14:59:53 +00:00
"Condition": "and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +Inf)), (bitAnd(z, 3) not in [1, 1])))",
"Initial Parts": 4,
"Selected Parts": 3,
"Initial Granules": 11,
"Selected Granules": 10
},
{
"Type": "PrimaryKey",
"Keys": ["x", "y"],
2021-06-19 14:59:53 +00:00
"Condition": "and((x in [11, +Inf)), (y in [1, +Inf)))",
"Initial Parts": 3,
"Selected Parts": 2,
"Initial Granules": 10,
"Selected Granules": 6
},
{
"Type": "Skip",
"Name": "t_minmax",
"Description": "minmax GRANULARITY 2",
"Initial Parts": 2,
"Selected Parts": 1,
"Initial Granules": 6,
"Selected Granules": 2
},
{
"Type": "Skip",
"Name": "t_set",
"Description": "set GRANULARITY 2",
"Initial Parts": 1,
"Selected Parts": 1,
"Initial Granules": 2,
"Selected Granules": 1
}
]
}
]
}
]
}
]
}
}
]
2021-04-08 15:19:49 +00:00
-----------------
2021-04-08 18:19:57 +00:00
ReadFromMergeTree
ReadType: InOrder
2021-04-16 09:43:11 +00:00
Parts: 1
Granules: 3
2021-04-08 15:19:49 +00:00
-----------------
2021-04-08 18:19:57 +00:00
ReadFromMergeTree
ReadType: InReverseOrder
2021-04-16 09:43:11 +00:00
Parts: 1
Granules: 3
2021-04-16 11:18:55 +00:00
ReadFromMergeTree
Indexes:
PrimaryKey
Keys:
x
plus(x, y)
2021-06-19 14:59:53 +00:00
Condition: or((x in 2-element set), (plus(plus(x, y), 1) in (-Inf, 2]))
2021-04-16 11:18:55 +00:00
Parts: 1/1
Granules: 1/1