mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update 01494_storage_join_persistency.sql
This commit is contained in:
parent
a0ffdb1f45
commit
55544939b3
@ -4,7 +4,7 @@ SELECT '----- Default Settings -----';
|
||||
CREATE TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k);
|
||||
INSERT INTO join VALUES (1,21);
|
||||
DETACH TABLE join;
|
||||
ATTACH TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k);
|
||||
ATTACH TABLE join;
|
||||
SELECT * from join;
|
||||
|
||||
DROP TABLE join;
|
||||
@ -13,7 +13,7 @@ SELECT '----- Settings persistent=1 -----';
|
||||
CREATE TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k) SETTINGS persistent=1;
|
||||
INSERT INTO join VALUES (1,21);
|
||||
DETACH TABLE join;
|
||||
ATTACH TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k) SETTINGS persistent=1;
|
||||
ATTACH TABLE join;
|
||||
SELECT * from join;
|
||||
|
||||
DROP TABLE join;
|
||||
@ -22,7 +22,7 @@ SELECT '----- Settings persistent=0 -----';
|
||||
CREATE TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k) SETTINGS persistent=0;
|
||||
INSERT INTO join VALUES (1,21);
|
||||
DETACH TABLE join;
|
||||
ATTACH TABLE join (k UInt64, s String) ENGINE = Join(ANY, LEFT, k) SETTINGS persistent=0;
|
||||
ATTACH TABLE join;
|
||||
SELECT * from join;
|
||||
|
||||
DROP TABLE join;
|
||||
|
Loading…
Reference in New Issue
Block a user