mirror of https://github.com/citusdata/citus.git
428 lines
19 KiB
Plaintext
428 lines
19 KiB
Plaintext
Parsed test spec with 2 sessions
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-drop s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
ERROR: table "drop_hash" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop-schema s2-drop-schema s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop-schema: DROP SCHEMA drop_tests CASCADE;
|
|
step s2-drop-schema: DROP SCHEMA drop_tests CASCADE; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop-schema: <... completed>
|
|
ERROR: schema "drop_tests" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop-schema s2-drop-schema-2 s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop-schema: DROP SCHEMA drop_tests CASCADE;
|
|
step s2-drop-schema-2: DROP SCHEMA drop_tests_2 CASCADE;
|
|
step s1-commit: COMMIT;
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-ddl-create-index s1-commit s2-commit s1-select-count s1-show-indexes
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-create-index: CREATE INDEX drop_hash_index ON drop_hash(id); <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-create-index: <... completed>
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-indexes: SELECT run_command_on_workers('SELECT COUNT(*) FROM pg_indexes WHERE tablename LIKE ''drop_hash%''');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,0)
|
|
(localhost,57638,t,0)
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-ddl-create-index s1-begin s2-begin s1-drop s2-ddl-drop-index s1-commit s2-commit s1-select-count s1-show-indexes
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-ddl-create-index: CREATE INDEX drop_hash_index ON drop_hash(id);
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-drop-index: DROP INDEX drop_hash_index; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-drop-index: <... completed>
|
|
ERROR: index "drop_hash_index" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-indexes: SELECT run_command_on_workers('SELECT COUNT(*) FROM pg_indexes WHERE tablename LIKE ''drop_hash%''');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,0)
|
|
(localhost,57638,t,0)
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s1-drop s2-ddl-create-index-concurrently s1-commit s2-empty s1-select-count s1-show-indexes
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-create-index-concurrently: CREATE INDEX CONCURRENTLY drop_hash_index ON drop_hash(id); <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-create-index-concurrently: <... completed>
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s2-empty:
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-indexes: SELECT run_command_on_workers('SELECT COUNT(*) FROM pg_indexes WHERE tablename LIKE ''drop_hash%''');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,0)
|
|
(localhost,57638,t,0)
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-ddl-add-column s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-add-column: ALTER TABLE drop_hash ADD new_column int DEFAULT 0; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-add-column: <... completed>
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-ddl-add-column s1-begin s2-begin s1-drop s2-ddl-drop-column s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-ddl-add-column: ALTER TABLE drop_hash ADD new_column int DEFAULT 0;
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-drop-column: ALTER TABLE drop_hash DROP new_column; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-drop-column: <... completed>
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-ddl-rename-column s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-ddl-rename-column: ALTER TABLE drop_hash RENAME data TO new_column; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-ddl-rename-column: <... completed>
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-table-size s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-table-size: SELECT citus_total_relation_size('drop_hash'); <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-table-size: <... completed>
|
|
ERROR: could not compute table size: relation does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-drop s1-create-non-distributed-table s1-initialize s2-initialize s1-begin s2-begin s1-drop s2-distribute-table s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s1-create-non-distributed-table: CREATE TABLE drop_hash(id integer, data text); COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s2-distribute-table: SELECT create_distributed_table('drop_hash', 'id'); <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-distribute-table: <... completed>
|
|
ERROR: relation with OID XXXX does not exist
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-ddl-create-index s2-drop s1-commit s2-commit s1-select-count s1-show-indexes
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-ddl-create-index: CREATE INDEX drop_hash_index ON drop_hash(id);
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-indexes: SELECT run_command_on_workers('SELECT COUNT(*) FROM pg_indexes WHERE tablename LIKE ''drop_hash%''');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,0)
|
|
(localhost,57638,t,0)
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-ddl-create-index s1-begin s2-begin s1-ddl-drop-index s2-drop s1-commit s2-commit s1-select-count s1-show-indexes
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-ddl-create-index: CREATE INDEX drop_hash_index ON drop_hash(id);
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-ddl-drop-index: DROP INDEX drop_hash_index;
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-indexes: SELECT run_command_on_workers('SELECT COUNT(*) FROM pg_indexes WHERE tablename LIKE ''drop_hash%''');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,0)
|
|
(localhost,57638,t,0)
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-ddl-add-column s2-drop s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-ddl-add-column: ALTER TABLE drop_hash ADD new_column int DEFAULT 0;
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-ddl-add-column s1-begin s2-begin s1-ddl-drop-column s2-drop s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-ddl-add-column: ALTER TABLE drop_hash ADD new_column int DEFAULT 0;
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-ddl-drop-column: ALTER TABLE drop_hash DROP new_column;
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-ddl-rename-column s2-drop s1-commit s2-commit s1-select-count s1-show-columns
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-ddl-rename-column: ALTER TABLE drop_hash RENAME data TO new_column;
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
step s1-show-columns: SELECT run_command_on_workers('SELECT column_name FROM information_schema.columns WHERE table_name LIKE ''ddl_hash%'' AND column_name = ''drop_hash'' ORDER BY 1 LIMIT 1');
|
|
run_command_on_workers
|
|
---------------------------------------------------------------------
|
|
(localhost,57637,t,"")
|
|
(localhost,57638,t,"")
|
|
(2 rows)
|
|
|
|
|
|
starting permutation: s1-initialize s2-initialize s1-begin s2-begin s1-table-size s2-drop s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-table-size: SELECT citus_total_relation_size('drop_hash');
|
|
citus_total_relation_size
|
|
---------------------------------------------------------------------
|
|
57344
|
|
(1 row)
|
|
|
|
step s2-drop: DROP TABLE drop_hash;
|
|
step s1-commit: COMMIT;
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|
|
|
|
starting permutation: s1-drop s1-create-non-distributed-table s1-initialize s2-initialize s1-begin s2-begin s1-distribute-table s2-drop s1-commit s2-commit s1-select-count
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-drop: DROP TABLE drop_hash;
|
|
step s1-create-non-distributed-table: CREATE TABLE drop_hash(id integer, data text); COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s1-initialize: SET search_path TO 'drop_tests'; COPY drop_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
|
step s2-initialize: SET search_path TO 'drop_tests';
|
|
step s1-begin: BEGIN;
|
|
step s2-begin: BEGIN;
|
|
step s1-distribute-table: SELECT create_distributed_table('drop_hash', 'id');
|
|
create_distributed_table
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s2-drop: DROP TABLE drop_hash; <waiting ...>
|
|
step s1-commit: COMMIT;
|
|
step s2-drop: <... completed>
|
|
step s2-commit: COMMIT;
|
|
step s1-select-count: SELECT COUNT(*) FROM drop_hash;
|
|
ERROR: relation "drop_hash" does not exist
|