2024-06-18 07:53:37 +00:00
|
|
|
drop table if exists test_qualify;
|
|
|
|
create table test_qualify (number Int64) ENGINE = MergeTree ORDER BY (number);
|
2024-06-17 16:16:05 +00:00
|
|
|
|
2024-06-18 07:53:37 +00:00
|
|
|
insert into test_qualify SELECT * FROM numbers(100);
|
2024-06-17 16:16:05 +00:00
|
|
|
|
2024-06-18 07:53:37 +00:00
|
|
|
select count() from test_qualify; -- 100
|
2024-07-12 12:49:26 +00:00
|
|
|
select * from test_qualify qualify row_number() over (order by number) = 50 SETTINGS enable_analyzer = 1; -- 49
|
|
|
|
select * from test_qualify qualify row_number() over (order by number) = 50 SETTINGS enable_analyzer = 0; -- { serverError NOT_IMPLEMENTED }
|
2024-06-17 16:16:05 +00:00
|
|
|
|
2024-11-08 10:55:52 +00:00
|
|
|
delete from test_qualify where number in (select number from test_qualify qualify row_number() over (order by number) = 50) SETTINGS validate_mutation_query = 0; -- { serverError UNFINISHED }
|
|
|
|
select count() from test_qualify; -- 100
|