mirror of https://github.com/citusdata/citus.git
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
--
|
|
-- MULTI_STAGE_DATA
|
|
--
|
|
-- Tests for loading data in a distributed cluster. Please note that the number
|
|
-- of shards uploaded depends on two config values: citus.shard_replication_factor and
|
|
-- citus.shard_max_size. These values are set in pg_regress_multi.pl. Shard placement
|
|
-- policy is left to the default value (round-robin) to test the common install case.
|
|
|
|
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 290000;
|
|
ALTER SEQUENCE pg_catalog.pg_dist_jobid_seq RESTART 290000;
|
|
|
|
\copy lineitem FROM '@abs_srcdir@/data/lineitem.1.data' with delimiter '|'
|
|
\copy lineitem FROM '@abs_srcdir@/data/lineitem.2.data' with delimiter '|'
|
|
|
|
\copy orders FROM '@abs_srcdir@/data/orders.1.data' with delimiter '|'
|
|
\copy orders FROM '@abs_srcdir@/data/orders.2.data' with delimiter '|'
|
|
|
|
\copy customer FROM '@abs_srcdir@/data/customer.1.data' with delimiter '|'
|
|
\copy nation FROM '@abs_srcdir@/data/nation.data' with delimiter '|'
|
|
\copy part FROM '@abs_srcdir@/data/part.data' with delimiter '|'
|
|
\copy supplier FROM '@abs_srcdir@/data/supplier.data' with delimiter '|' |