citus/src/test/regress/output/multi_create_schema.source

21 lines
490 B
Plaintext

SET citus.next_shard_id TO 250000;
CREATE SCHEMA tpch
CREATE TABLE nation (
n_nationkey integer not null,
n_name char(25) not null,
n_regionkey integer not null,
n_comment varchar(152));
SELECT master_create_distributed_table('tpch.nation', 'n_nationkey', 'append');
master_create_distributed_table
---------------------------------
(1 row)
\copy tpch.nation FROM '@abs_srcdir@/data/nation.data' with delimiter '|'
SELECT count(*) from tpch.nation;
count
-------
25
(1 row)