mirror of https://github.com/citusdata/citus.git
There were two multi insert - single insert tests but no multi insert - multi insert test. Fixed it.
parent
05f0668cdc
commit
4d34b79b87
|
@ -42,19 +42,19 @@ count
|
||||||
|
|
||||||
9
|
9
|
||||||
|
|
||||||
starting permutation: s1-initialize s1-begin s1-insert-multi-row s2-insert s1-commit s1-select-count
|
starting permutation: s1-initialize s1-begin s1-insert-multi-row s2-insert-multi-row s1-commit s1-select-count
|
||||||
create_distributed_table
|
create_distributed_table
|
||||||
|
|
||||||
|
|
||||||
step s1-initialize: COPY insert_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
step s1-initialize: COPY insert_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
|
||||||
step s1-begin: BEGIN;
|
step s1-begin: BEGIN;
|
||||||
step s1-insert-multi-row: INSERT INTO insert_hash VALUES(7, 'k'), (8, 'l'), (9, 'm');
|
step s1-insert-multi-row: INSERT INTO insert_hash VALUES(7, 'k'), (8, 'l'), (9, 'm');
|
||||||
step s2-insert: INSERT INTO insert_hash VALUES(7, 'k');
|
step s2-insert-multi-row: INSERT INTO insert_hash VALUES(7, 'k'), (8, 'l'), (9, 'm');
|
||||||
step s1-commit: COMMIT;
|
step s1-commit: COMMIT;
|
||||||
step s1-select-count: SELECT COUNT(*) FROM insert_hash;
|
step s1-select-count: SELECT COUNT(*) FROM insert_hash;
|
||||||
count
|
count
|
||||||
|
|
||||||
9
|
11
|
||||||
|
|
||||||
starting permutation: s1-initialize s1-begin s1-insert s2-insert-select s1-commit s1-select-count
|
starting permutation: s1-initialize s1-begin s1-insert s2-insert-select s1-commit s1-select-count
|
||||||
create_distributed_table
|
create_distributed_table
|
||||||
|
|
|
@ -64,7 +64,7 @@ step "s2-distribute-table" { SELECT create_distributed_table('insert_hash', 'id'
|
||||||
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert" "s1-commit" "s1-select-count"
|
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert" "s1-commit" "s1-select-count"
|
||||||
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-multi-row" "s1-commit" "s1-select-count"
|
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-multi-row" "s1-commit" "s1-select-count"
|
||||||
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert" "s1-commit" "s1-select-count"
|
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert" "s1-commit" "s1-select-count"
|
||||||
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert" "s1-commit" "s1-select-count"
|
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert-multi-row" "s1-commit" "s1-select-count"
|
||||||
|
|
||||||
# permutations - INSERT first
|
# permutations - INSERT first
|
||||||
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-select" "s1-commit" "s1-select-count"
|
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-select" "s1-commit" "s1-select-count"
|
||||||
|
|
Loading…
Reference in New Issue