Run concurrent modification queries in tests sequentially

pull/2164/head
Onder Kalaci 2018-05-10 09:57:46 +03:00
parent 42b9690552
commit 04d9e886fe
3 changed files with 10 additions and 5 deletions

View File

@ -238,6 +238,7 @@ LIMIT
1 | Thu Nov 23 11:44:57.515981 2017 | 4 | 3 | 4 |
1 | Thu Nov 23 17:23:03.441394 2017 | 5 | 4 | 3 |
1 | Thu Nov 23 17:30:34.635085 2017 | 3 | 4 | 4 |
1 | | | | |
2 | Wed Nov 22 18:19:49.944985 2017 | 3 | 5 | 1 |
2 | Thu Nov 23 00:19:14.138058 2017 | 3 | 4 | 0 |
2 | Thu Nov 23 01:04:26.198826 2017 | 4 | 3 | 4 |
@ -250,7 +251,6 @@ LIMIT
2 | Thu Nov 23 08:22:22.169158 2017 | 4 | 2 | 5 |
2 | Thu Nov 23 08:49:47.029236 2017 | 4 | 2 | 4 |
2 | Thu Nov 23 09:54:28.13665 2017 | 0 | 3 | 4 |
2 | Thu Nov 23 09:59:08.975079 2017 | 2 | 2 | 4 |
(20 rows)
-- Nested CTEs - joined with local table. Not supported yet.
@ -328,6 +328,7 @@ LIMIT
1 | Thu Nov 23 11:44:57.515981 2017 | 4 | 3 | 4 |
1 | Thu Nov 23 17:23:03.441394 2017 | 5 | 4 | 3 |
1 | Thu Nov 23 17:30:34.635085 2017 | 3 | 4 | 4 |
1 | | | | |
2 | Wed Nov 22 18:19:49.944985 2017 | 3 | 5 | 1 |
2 | Thu Nov 23 00:19:14.138058 2017 | 3 | 4 | 0 |
2 | Thu Nov 23 01:04:26.198826 2017 | 4 | 3 | 4 |
@ -340,7 +341,6 @@ LIMIT
2 | Thu Nov 23 08:22:22.169158 2017 | 4 | 2 | 5 |
2 | Thu Nov 23 08:49:47.029236 2017 | 4 | 2 | 4 |
2 | Thu Nov 23 09:54:28.13665 2017 | 0 | 3 | 4 |
2 | Thu Nov 23 09:59:08.975079 2017 | 2 | 2 | 4 |
(20 rows)
-- access to uncle, use window function, apply aggregates, use group by, LIMIT/OFFSET

View File

@ -298,11 +298,11 @@ DEBUG: generating subplan 61_2 for CTE cte_1: SELECT user_id, value_2 FROM publ
DEBUG: Plan 61 query after replacing subqueries and CTEs: SELECT cte_1.x, cte_1.value_2 FROM (SELECT intermediate_result.user_id AS x, intermediate_result.value_2 FROM read_intermediate_result('61_1'::text, 'binary'::citus_copy_format) intermediate_result(user_id integer, value_2 integer)) cte_1 UNION SELECT cte_1.x, cte_1.value_2 FROM (SELECT intermediate_result.user_id AS x, intermediate_result.value_2 FROM read_intermediate_result('61_2'::text, 'binary'::citus_copy_format) intermediate_result(user_id integer, value_2 integer)) cte_1 ORDER BY 1 DESC, 2 DESC LIMIT 5
x | value_2
---+---------
6 |
6 | 4
6 | 3
6 | 2
6 | 1
6 | 0
(5 rows)
-- simple subqueries in WHERE with unions

View File

@ -94,14 +94,19 @@ test: multi_join_order_tpch_repartition
# ----------
test: multi_repartition_join_planning multi_repartition_join_pruning multi_repartition_join_task_assignment
# ---------
# Tests that modify data should run sequentially
# ---------
test: with_prepare
# ---------
# Tests for recursive planning.
# ---------
test: with_nested with_where with_basics with_prepare with_set_operations
test: with_nested with_where with_basics with_set_operations
test: with_modifying cte_prepared_modify cte_nested_modification
test: with_executors with_join with_partitioning with_transactions with_dml
# ----------
# Tests to check our large record loading and shard deletion behavior
# ----------