mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Update test.
This commit is contained in:
parent
12791431da
commit
b8c9b2a8e9
@ -0,0 +1 @@
|
||||
48406fdb38e23228b776558b4edfa795
|
7
tests/queries/0_stateless/01891_partition_by_uuid.sql
Normal file
7
tests/queries/0_stateless/01891_partition_by_uuid.sql
Normal file
@ -0,0 +1,7 @@
|
||||
drop table if exists tab;
|
||||
create table tab (id UUID, value UInt32) engine = MergeTree PARTITION BY id order by tuple();
|
||||
insert into tab values ('61f0c404-5cb3-11e7-907b-a6006ad3dba0', 1), ('61f0c404-5cb3-11e7-907b-a6006ad3dba0', 2);
|
||||
-- Here we check that partition id for UUID partition key did not change.
|
||||
-- Different result means Backward Incompatible Change. Old partitions will not be accepted by new server.
|
||||
select partition_id from system.parts where table = 'tab' and database = currentDatabase();
|
||||
drop table if exists tab;
|
Loading…
Reference in New Issue
Block a user