mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update 03257_reverse_sorting_key.sql
This commit is contained in:
parent
bc35be4747
commit
8953babcd0
@ -17,12 +17,12 @@ select * from x1 where i = 3;
|
||||
|
||||
select count() from x1 where i between 3 and 10;
|
||||
|
||||
select trimLeft(explain) from (explain actions=1 select * from x1 order by i desc limit 5 settings max_threads=1, enable_analyzer=1) where explain ilike '%sort%';
|
||||
select trimLeft(explain) from (explain actions=1 select * from x1 order by i desc limit 5) where explain ilike '%sort%' settings max_threads=1, enable_analyzer=1;
|
||||
explain pipeline select * from x1 order by i desc limit 5 settings max_threads=1;
|
||||
|
||||
select * from x1 order by i desc limit 5;
|
||||
|
||||
select trimLeft(explain) from (explain actions=1 select * from x1 order by i limit 5 settings max_threads=1, enable_analyzer=1) where explain ilike '%sort%';
|
||||
select trimLeft(explain) from (explain actions=1 select * from x1 order by i limit 5) where explain ilike '%sort%' settings max_threads=1, enable_analyzer=1;
|
||||
explain pipeline select * from x1 order by i limit 5 settings max_threads=1;
|
||||
|
||||
select * from x1 order by i limit 5;
|
||||
@ -37,12 +37,12 @@ select * from x2 where j = 1003;
|
||||
|
||||
select count() from x2 where i between 3 and 10 and j between 1003 and 1008;
|
||||
|
||||
select trimLeft(explain) from (explain actions=1 select * from x2 order by i, j desc limit 5 settings max_threads=1, enable_analyzer=1) where explain ilike '%sort%';
|
||||
select trimLeft(explain) from (explain actions=1 select * from x2 order by i, j desc limit 5) where explain ilike '%sort%' settings max_threads=1, enable_analyzer=1;
|
||||
explain pipeline select * from x2 order by i, j desc limit 5 settings max_threads=1;
|
||||
|
||||
select * from x2 order by i, j desc limit 5;
|
||||
|
||||
select trimLeft(explain) from (explain actions=1 select * from x2 order by i, j limit 5 settings max_threads=1, enable_analyzer=1) where explain ilike '%sort%';
|
||||
select trimLeft(explain) from (explain actions=1 select * from x2 order by i, j limit 5) where explain ilike '%sort%' settings max_threads=1, enable_analyzer=1;
|
||||
explain pipeline select * from x2 order by i, j limit 5 settings max_threads=1;
|
||||
|
||||
select * from x2 order by i, j limit 5;
|
||||
|
Loading…
Reference in New Issue
Block a user