mirror of https://github.com/citusdata/citus.git
17 lines
471 B
Plaintext
17 lines
471 B
Plaintext
|
|
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 250000;
|
|
ALTER SEQUENCE pg_catalog.pg_dist_jobid_seq RESTART 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');
|
|
|
|
\copy tpch.nation FROM '@abs_srcdir@/data/nation.data' with delimiter '|'
|
|
|
|
SELECT count(*) from tpch.nation;
|