2020-01-20 20:08:47 +00:00
|
|
|
DROP DATABASE IF EXISTS memory_01069;
|
|
|
|
CREATE DATABASE memory_01069 ENGINE = Memory;
|
|
|
|
SHOW CREATE DATABASE memory_01069;
|
|
|
|
|
|
|
|
CREATE TABLE memory_01069.mt (n UInt8) ENGINE = MergeTree() ORDER BY n;
|
|
|
|
CREATE TABLE memory_01069.file (n UInt8) ENGINE = File(CSV);
|
|
|
|
|
|
|
|
INSERT INTO memory_01069.mt VALUES (1), (2);
|
|
|
|
INSERT INTO memory_01069.file VALUES (3), (4);
|
|
|
|
|
|
|
|
SELECT * FROM memory_01069.mt ORDER BY n;
|
|
|
|
SELECT * FROM memory_01069.file ORDER BY n;
|
|
|
|
|
|
|
|
DROP TABLE memory_01069.mt;
|
2024-05-30 12:27:25 +00:00
|
|
|
SELECT * FROM memory_01069.mt ORDER BY n; -- { serverError UNKNOWN_TABLE }
|
2020-01-20 20:08:47 +00:00
|
|
|
SELECT * FROM memory_01069.file ORDER BY n;
|
|
|
|
|
2024-05-30 12:27:25 +00:00
|
|
|
SHOW CREATE TABLE memory_01069.mt; -- { serverError UNKNOWN_TABLE }
|
2020-01-30 12:51:47 +00:00
|
|
|
SHOW CREATE TABLE memory_01069.file;
|
|
|
|
|
2020-01-20 20:08:47 +00:00
|
|
|
DROP DATABASE memory_01069;
|