mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
12 lines
381 B
SQL
12 lines
381 B
SQL
DROP TABLE IF EXISTS t_async_insert_table_function;
|
|
|
|
CREATE TABLE t_async_insert_table_function (id UInt32, s String) ENGINE = Memory;
|
|
|
|
SET async_insert = 1;
|
|
|
|
INSERT INTO function remote('127.0.0.1', currentDatabase(), t_async_insert_table_function) values (1, 'aaa') (2, 'bbb');
|
|
|
|
SELECT * FROM t_async_insert_table_function ORDER BY id;
|
|
|
|
DROP TABLE t_async_insert_table_function;
|