Update 02841_parallel_final_wrong_columns_order.sql

This commit is contained in:
Alexey Milovidov 2023-08-17 01:16:58 +03:00 committed by GitHub
parent a0a6ec1809
commit 53fdbac7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,6 @@
-- Tags: no-random-settings
-- Because we insert one million rows, it shouldn't choose too low index granularity.
drop table if exists tab2;
create table tab2 (id String, version Int64, l String, accountCode String, z Int32) engine = ReplacingMergeTree(z) PRIMARY KEY (accountCode, id) ORDER BY (accountCode, id, version, l);
insert into tab2 select toString(number), number, toString(number), toString(number), 0 from numbers(1e6);