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

16 lines
377 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 create_distributed_table('tpch.nation', 'n_nationkey', 'append');
\copy tpch.nation FROM '@abs_srcdir@/data/nation.data' with delimiter '|'
SELECT count(*) from tpch.nation;