mirror of https://github.com/citusdata/citus.git
Fix a flaky test in mixed_relkind_tests (#4300)
parent
1f723cabd2
commit
5d5966f700
|
@ -212,15 +212,15 @@ SELECT * FROM mat_view_on_dist UNION SELECT 1 ORDER BY 1;
|
||||||
|
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
-- can push down the union in subquery
|
-- can push down the union in subquery
|
||||||
SELECT * FROM (SELECT * FROM partitioned_distributed_table UNION SELECT * FROM partitioned_distributed_table) AS foo;
|
SELECT * FROM (SELECT * FROM partitioned_distributed_table UNION SELECT * FROM partitioned_distributed_table) AS foo ORDER BY 1,2;
|
||||||
a | b
|
a | b
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
1 | 2
|
|
||||||
5 | 6
|
|
||||||
4 | 5
|
|
||||||
3 | 4
|
|
||||||
0 | 1
|
0 | 1
|
||||||
|
1 | 2
|
||||||
2 | 3
|
2 | 3
|
||||||
|
3 | 4
|
||||||
|
4 | 5
|
||||||
|
5 | 6
|
||||||
(6 rows)
|
(6 rows)
|
||||||
|
|
||||||
-- cannot push down the subquery, should evaluate subquery by creating a subplan
|
-- cannot push down the subquery, should evaluate subquery by creating a subplan
|
||||||
|
|
|
@ -78,7 +78,7 @@ SELECT * FROM mat_view_on_dist UNION SELECT 1 ORDER BY 1;
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
|
|
||||||
-- can push down the union in subquery
|
-- can push down the union in subquery
|
||||||
SELECT * FROM (SELECT * FROM partitioned_distributed_table UNION SELECT * FROM partitioned_distributed_table) AS foo;
|
SELECT * FROM (SELECT * FROM partitioned_distributed_table UNION SELECT * FROM partitioned_distributed_table) AS foo ORDER BY 1,2;
|
||||||
|
|
||||||
-- cannot push down the subquery, should evaluate subquery by creating a subplan
|
-- cannot push down the subquery, should evaluate subquery by creating a subplan
|
||||||
SELECT COUNT(*) FROM (SELECT b, random() FROM partitioned_distributed_table GROUP BY b) AS foo;
|
SELECT COUNT(*) FROM (SELECT b, random() FROM partitioned_distributed_table GROUP BY b) AS foo;
|
||||||
|
|
Loading…
Reference in New Issue