mirror of https://github.com/citusdata/citus.git
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
--
|
|
-- MULTI_STAGE_MORE_DATA
|
|
--
|
|
|
|
|
|
SET citus.next_shard_id TO 280000;
|
|
|
|
|
|
-- We load more data to customer and part tables to test distributed joins. The
|
|
-- loading causes the planner to consider customer and part tables as large, and
|
|
-- evaluate plans where some of the underlying tables need to be repartitioned.
|
|
|
|
\copy customer FROM '@abs_srcdir@/data/customer.2.data' with delimiter '|'
|
|
\copy customer FROM '@abs_srcdir@/data/customer.3.data' with delimiter '|'
|
|
\copy part FROM '@abs_srcdir@/data/part.more.data' with delimiter '|'
|
|
|
|
\copy customer_append FROM '@abs_srcdir@/data/customer.2.data' with delimiter '|'
|
|
\copy customer_append FROM '@abs_srcdir@/data/customer.3.data' with delimiter '|'
|
|
\copy part_append FROM '@abs_srcdir@/data/part.more.data' with delimiter '|'
|
|
|
|
-- Exchange partition files in binary format in remaining tests
|
|
ALTER SYSTEM SET citus.binary_worker_copy_format TO on;
|
|
SELECT pg_reload_conf();
|
|
SELECT success FROM run_command_on_workers('ALTER SYSTEM SET citus.binary_worker_copy_format TO on');
|
|
SELECT success FROM run_command_on_workers('SELECT pg_reload_conf()');
|