Fix tests.

This commit is contained in:
Nikolai Kochetov 2021-05-27 20:56:06 +03:00
parent 936bd8a011
commit 1ed00b06e0
3 changed files with 10 additions and 33 deletions

View File

@ -28,7 +28,7 @@ FROM mv_extra_columns_src;
INSERT INTO mv_extra_columns_src VALUES (0, 0), (1, 1), (2, 2);
SELECT * FROM mv_extra_columns_dst ORDER by v;
SELECT * FROM mv_extra_columns_view; -- { serverError 16 }
SELECT * FROM mv_extra_columns_view; -- { serverError 10 }
DROP TABLE mv_extra_columns_view;
DROP TABLE mv_extra_columns_src;

View File

@ -7,22 +7,11 @@ ExpressionTransform
(Expression)
ExpressionTransform × 3
(SettingQuotaAndLimits)
(Expression)
ExpressionTransform × 3
(Union)
(MergingSorted)
(Expression)
ExpressionTransform
(ReadFromMergeTree)
MergeTree 0 → 1
(MergingSorted)
(ReadFromMergeTree)
ExpressionTransform × 4
MergeTree 0 → 1
MergingSortedTransform 2 → 1
(Expression)
ExpressionTransform × 2
(ReadFromMergeTree)
MergeTree × 2 0 → 1
(MergingSorted)
(Expression)
ExpressionTransform
(ReadFromMergeTree)
MergeTree 0 → 1
ExpressionTransform
MergeTree 0 → 1

View File

@ -34,19 +34,13 @@ Expression (Projection)
FinishSorting
Expression ((Before ORDER BY + Add table aliases))
SettingQuotaAndLimits (Set limits and quota after reading from storage)
Union
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
Expression (Projection)
Limit (preliminary LIMIT)
FinishSorting
Expression (Before ORDER BY)
SettingQuotaAndLimits (Set limits and quota after reading from storage)
Union
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
optimize_aggregation_in_order
Expression ((Projection + Before ORDER BY))
Aggregating
@ -57,18 +51,12 @@ Expression ((Projection + Before ORDER BY))
Aggregating
Expression ((Before GROUP BY + Add table aliases))
SettingQuotaAndLimits (Set limits and quota after reading from storage)
Union
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
Expression ((Projection + Before ORDER BY))
Aggregating
Expression (Before GROUP BY)
SettingQuotaAndLimits (Set limits and quota after reading from storage)
Union
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
ReadFromMergeTree
second-index
1
1