mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update again
This commit is contained in:
parent
972e3a5156
commit
c56df3e134
@ -252,9 +252,6 @@ public:
|
|||||||
/// Type tag.
|
/// Type tag.
|
||||||
enum Which
|
enum Which
|
||||||
{
|
{
|
||||||
NegativeInfinity = -1,
|
|
||||||
PositiveInfinity = -2,
|
|
||||||
|
|
||||||
Null = 0,
|
Null = 0,
|
||||||
UInt64 = 1,
|
UInt64 = 1,
|
||||||
Int64 = 2,
|
Int64 = 2,
|
||||||
@ -274,6 +271,10 @@ public:
|
|||||||
Int256 = 25,
|
Int256 = 25,
|
||||||
Map = 26,
|
Map = 26,
|
||||||
UUID = 27,
|
UUID = 27,
|
||||||
|
|
||||||
|
// Special types for index analysis
|
||||||
|
NegativeInfinity = 254,
|
||||||
|
PositiveInfinity = 255,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * toString(Which which)
|
static const char * toString(Which which)
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
MinMax
|
MinMax
|
||||||
Keys:
|
Keys:
|
||||||
y
|
y
|
||||||
Condition: (y in [1, +inf))
|
Condition: (y in [1, +Inf))
|
||||||
Parts: 4/5
|
Parts: 4/5
|
||||||
Granules: 11/12
|
Granules: 11/12
|
||||||
Partition
|
Partition
|
||||||
Keys:
|
Keys:
|
||||||
y
|
y
|
||||||
bitAnd(z, 3)
|
bitAnd(z, 3)
|
||||||
Condition: and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +inf)), (bitAnd(z, 3) not in [1, 1])))
|
Condition: and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +Inf)), (bitAnd(z, 3) not in [1, 1])))
|
||||||
Parts: 3/4
|
Parts: 3/4
|
||||||
Granules: 10/11
|
Granules: 10/11
|
||||||
PrimaryKey
|
PrimaryKey
|
||||||
Keys:
|
Keys:
|
||||||
x
|
x
|
||||||
y
|
y
|
||||||
Condition: and((x in [11, +inf)), (y in [1, +inf)))
|
Condition: and((x in [11, +Inf)), (y in [1, +Inf)))
|
||||||
Parts: 2/3
|
Parts: 2/3
|
||||||
Granules: 6/10
|
Granules: 6/10
|
||||||
Skip
|
Skip
|
||||||
@ -36,7 +36,7 @@
|
|||||||
{
|
{
|
||||||
"Type": "MinMax",
|
"Type": "MinMax",
|
||||||
"Keys": ["y"],
|
"Keys": ["y"],
|
||||||
"Condition": "(y in [1, +inf))",
|
"Condition": "(y in [1, +Inf))",
|
||||||
"Initial Parts": 5,
|
"Initial Parts": 5,
|
||||||
"Selected Parts": 4,
|
"Selected Parts": 4,
|
||||||
"Initial Granules": 12,
|
"Initial Granules": 12,
|
||||||
@ -45,7 +45,7 @@
|
|||||||
{
|
{
|
||||||
"Type": "Partition",
|
"Type": "Partition",
|
||||||
"Keys": ["y", "bitAnd(z, 3)"],
|
"Keys": ["y", "bitAnd(z, 3)"],
|
||||||
"Condition": "and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +inf)), (bitAnd(z, 3) not in [1, 1])))",
|
"Condition": "and((bitAnd(z, 3) not in [1, 1]), and((y in [1, +Inf)), (bitAnd(z, 3) not in [1, 1])))",
|
||||||
"Initial Parts": 4,
|
"Initial Parts": 4,
|
||||||
"Selected Parts": 3,
|
"Selected Parts": 3,
|
||||||
"Initial Granules": 11,
|
"Initial Granules": 11,
|
||||||
@ -54,7 +54,7 @@
|
|||||||
{
|
{
|
||||||
"Type": "PrimaryKey",
|
"Type": "PrimaryKey",
|
||||||
"Keys": ["x", "y"],
|
"Keys": ["x", "y"],
|
||||||
"Condition": "and((x in [11, +inf)), (y in [1, +inf)))",
|
"Condition": "and((x in [11, +Inf)), (y in [1, +Inf)))",
|
||||||
"Initial Parts": 3,
|
"Initial Parts": 3,
|
||||||
"Selected Parts": 2,
|
"Selected Parts": 2,
|
||||||
"Initial Granules": 10,
|
"Initial Granules": 10,
|
||||||
@ -104,6 +104,6 @@
|
|||||||
Keys:
|
Keys:
|
||||||
x
|
x
|
||||||
plus(x, y)
|
plus(x, y)
|
||||||
Condition: or((x in 2-element set), (plus(plus(x, y), 1) in (-inf, 2]))
|
Condition: or((x in 2-element set), (plus(plus(x, y), 1) in (-Inf, 2]))
|
||||||
Parts: 1/1
|
Parts: 1/1
|
||||||
Granules: 1/1
|
Granules: 1/1
|
||||||
|
Loading…
Reference in New Issue
Block a user