mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
46 lines
1.4 KiB
SQL
46 lines
1.4 KiB
SQL
-- Tags: no-fasttest, no-replicated-database
|
|
|
|
DROP TABLE IF EXISTS test;
|
|
DROP TABLE IF EXISTS test_1;
|
|
DROP TABLE IF EXISTS test_2;
|
|
|
|
CREATE TABLE test (a Int32)
|
|
ENGINE = MergeTree()
|
|
ORDER BY tuple()
|
|
SETTINGS disk = disk(type = cache,
|
|
max_size = '1Mi',
|
|
path = '/kek',
|
|
disk = 'local_disk'); -- {serverError BAD_ARGUMENTS}
|
|
|
|
CREATE TABLE test (a Int32)
|
|
ENGINE = MergeTree()
|
|
ORDER BY tuple()
|
|
SETTINGS disk = disk(type = cache,
|
|
max_size = '1Mi',
|
|
path = '/var/lib/clickhouse/filesystem_caches/../kek',
|
|
disk = 'local_disk'); -- {serverError BAD_ARGUMENTS}
|
|
|
|
CREATE TABLE test (a Int32)
|
|
ENGINE = MergeTree()
|
|
ORDER BY tuple()
|
|
SETTINGS disk = disk(type = cache,
|
|
max_size = '1Mi',
|
|
path = '../kek',
|
|
disk = 'local_disk'); -- {serverError BAD_ARGUMENTS}
|
|
|
|
CREATE TABLE test_1 (a Int32)
|
|
ENGINE = MergeTree()
|
|
ORDER BY tuple()
|
|
SETTINGS disk = disk(type = cache,
|
|
max_size = '1Mi',
|
|
path = '/var/lib/clickhouse/filesystem_caches/kek',
|
|
disk = 'local_disk');
|
|
|
|
CREATE TABLE test_2 (a Int32)
|
|
ENGINE = MergeTree()
|
|
ORDER BY tuple()
|
|
SETTINGS disk = disk(type = cache,
|
|
max_size = '1Mi',
|
|
path = 'kek2',
|
|
disk = 'local_disk');
|