mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Adapt tests to default optimizations
This commit is contained in:
parent
66ebdd050e
commit
0575be39f3
@ -163,6 +163,7 @@ Filter column: notEquals(__table1.y, 2_UInt8)
|
|||||||
> filter is pushed down before CreatingSets
|
> filter is pushed down before CreatingSets
|
||||||
CreatingSets
|
CreatingSets
|
||||||
Filter
|
Filter
|
||||||
|
Filter
|
||||||
1
|
1
|
||||||
3
|
3
|
||||||
> one condition of filter is pushed down before LEFT JOIN
|
> one condition of filter is pushed down before LEFT JOIN
|
||||||
|
@ -332,12 +332,13 @@ SETTINGS optimize_aggregators_of_group_by_keys=0 -- avoid removing any() as it d
|
|||||||
Expression (Projection)
|
Expression (Projection)
|
||||||
Sorting (Sorting for ORDER BY)
|
Sorting (Sorting for ORDER BY)
|
||||||
Expression (Before ORDER BY)
|
Expression (Before ORDER BY)
|
||||||
Filter (((WHERE + (Projection + Before ORDER BY)) + HAVING))
|
Filter ((WHERE + (Projection + Before ORDER BY)))
|
||||||
Aggregating
|
Filter (HAVING)
|
||||||
Expression ((Before GROUP BY + Projection))
|
Aggregating
|
||||||
Sorting (Sorting for ORDER BY)
|
Expression ((Before GROUP BY + Projection))
|
||||||
Expression ((Before ORDER BY + (Projection + Before ORDER BY)))
|
Sorting (Sorting for ORDER BY)
|
||||||
ReadFromSystemNumbers
|
Expression ((Before ORDER BY + (Projection + Before ORDER BY)))
|
||||||
|
ReadFromSystemNumbers
|
||||||
-- execute
|
-- execute
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
|
@ -28,17 +28,21 @@ WHERE type_1 = \'all\'
|
|||||||
(Expression)
|
(Expression)
|
||||||
ExpressionTransform × 2
|
ExpressionTransform × 2
|
||||||
(Filter)
|
(Filter)
|
||||||
FilterTransform × 6
|
FilterTransform × 2
|
||||||
(Aggregating)
|
(Filter)
|
||||||
ExpressionTransform × 2
|
FilterTransform × 2
|
||||||
AggregatingTransform × 2
|
(Filter)
|
||||||
Copy 1 → 2
|
FilterTransform × 2
|
||||||
(Expression)
|
(Aggregating)
|
||||||
ExpressionTransform
|
ExpressionTransform × 2
|
||||||
(Expression)
|
AggregatingTransform × 2
|
||||||
ExpressionTransform
|
Copy 1 → 2
|
||||||
(ReadFromMergeTree)
|
(Expression)
|
||||||
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
|
ExpressionTransform
|
||||||
|
(Expression)
|
||||||
|
ExpressionTransform
|
||||||
|
(ReadFromMergeTree)
|
||||||
|
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
|
||||||
(Expression)
|
(Expression)
|
||||||
ExpressionTransform × 2
|
ExpressionTransform × 2
|
||||||
(Filter)
|
(Filter)
|
||||||
@ -64,10 +68,14 @@ ExpressionTransform × 2
|
|||||||
ExpressionTransform × 2
|
ExpressionTransform × 2
|
||||||
AggregatingTransform × 2
|
AggregatingTransform × 2
|
||||||
Copy 1 → 2
|
Copy 1 → 2
|
||||||
(Expression)
|
(Filter)
|
||||||
ExpressionTransform
|
FilterTransform
|
||||||
(ReadFromMergeTree)
|
(Filter)
|
||||||
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
|
FilterTransform
|
||||||
|
(Expression)
|
||||||
|
ExpressionTransform
|
||||||
|
(ReadFromMergeTree)
|
||||||
|
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
|
||||||
(Expression)
|
(Expression)
|
||||||
ExpressionTransform × 2
|
ExpressionTransform × 2
|
||||||
(Aggregating)
|
(Aggregating)
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
Condition: and((materialize(auid) in [1, 1]), (_CAST(toDate(ts)) in (-Inf, 1703980800]))
|
Condition: (_CAST(toDate(ts)) in (-Inf, 1703980800])
|
||||||
Granules: 1/3
|
Granules: 3/3
|
||||||
|
Loading…
Reference in New Issue
Block a user