mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Fix missing check
This commit is contained in:
parent
61599108c7
commit
0fe8f94b15
@ -2,6 +2,9 @@
|
||||
CREATE DATABASE default_1\nENGINE = Atomic
|
||||
CREATE DATABASE default_2\nENGINE = Atomic
|
||||
CREATE DATABASE default_3\nENGINE = Ordinary
|
||||
default_1 Atomic store 00001114-1000-4000-8000-000000000001 1
|
||||
default_2 Atomic store 00001114-1000-4000-8000-000000000002 1
|
||||
default_3 Ordinary default_3 default_3 1
|
||||
110
|
||||
100
|
||||
CREATE TABLE default_2.mt UUID \'00001114-0000-4000-8000-000000000002\'\n(\n `n` UInt64\n)\nENGINE = MergeTree\nPARTITION BY n % 5\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|
||||
|
@ -29,7 +29,7 @@ $CLICKHOUSE_CLIENT -q "SELECT name,
|
||||
engine,
|
||||
splitByChar('/', data_path)[-2],
|
||||
splitByChar('/', metadata_path)[-2] as uuid_path, ((splitByChar('/', metadata_path)[-3] as metadata) = substr(uuid_path, 1, 3)) OR metadata='metadata'
|
||||
FROM system.databases WHERE name LIKE 'test_01114_%'" | sed "s/$uuid_db_1/00001114-1000-4000-8000-000000000001/g" | sed "s/$uuid_db_2/00001114-1000-4000-8000-000000000002/g"
|
||||
FROM system.databases WHERE name LIKE '${CLICKHOUSE_DATABASE}_%'" | sed "s/$uuid_db_1/00001114-1000-4000-8000-000000000001/g" | sed "s/$uuid_db_2/00001114-1000-4000-8000-000000000002/g"
|
||||
|
||||
$CLICKHOUSE_CLIENT -nm -q "
|
||||
CREATE TABLE ${DATABASE_1}.mt_tmp (n UInt64) ENGINE=MergeTree() ORDER BY tuple();
|
||||
|
Loading…
Reference in New Issue
Block a user