mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fixed test
This commit is contained in:
parent
07d5a1ec21
commit
d84fd76f3f
@ -13,35 +13,19 @@ SELECT * FROM dict1; --{serverError 36}
|
||||
DROP DICTIONARY dict1;
|
||||
|
||||
DROP DICTIONARY IF EXISTS dict2;
|
||||
CREATE DICTIONARY default.dict2
|
||||
CREATE DICTIONARY 01780_db.dict2
|
||||
(
|
||||
id UInt64,
|
||||
value String
|
||||
)
|
||||
PRIMARY KEY id
|
||||
SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 TABLE 'dict2'))
|
||||
SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 DATABASE '01780_db' TABLE 'dict2'))
|
||||
LAYOUT(DIRECT());
|
||||
|
||||
SELECT * FROM dict2; --{serverError 36}
|
||||
|
||||
DROP DICTIONARY dict2;
|
||||
|
||||
DROP DATABASE IF EXISTS 01780_db;
|
||||
CREATE DATABASE 01780_db;
|
||||
|
||||
DROP DICTIONARY IF EXISTS dict3;
|
||||
CREATE DICTIONARY 01780_db.dict3
|
||||
(
|
||||
id UInt64,
|
||||
value String
|
||||
)
|
||||
PRIMARY KEY id
|
||||
SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 DATABASE '01780_db' TABLE 'dict3'))
|
||||
LAYOUT(DIRECT());
|
||||
|
||||
SELECT * FROM 01780_db.dict3; --{serverError 36}
|
||||
DROP DICTIONARY 01780_db.dict3;
|
||||
SELECT * FROM 01780_db.dict2; --{serverError 36}
|
||||
DROP DICTIONARY 01780_db.dict2;
|
||||
|
||||
DROP TABLE IF EXISTS 01780_db.dict3_source;
|
||||
CREATE TABLE 01780_db.dict3_source
|
||||
(
|
||||
id UInt64,
|
||||
|
@ -694,6 +694,7 @@
|
||||
"01685_ssd_cache_dictionary_complex_key",
|
||||
"01760_system_dictionaries",
|
||||
"01760_polygon_dictionaries",
|
||||
"01778_hierarchical_dictionaries"
|
||||
"01778_hierarchical_dictionaries",
|
||||
"01780_clickhouse_dictionary_source_loop"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user