mirror of https://github.com/citusdata/citus.git
16 lines
517 B
SQL
16 lines
517 B
SQL
-- Test two concurrent reparttition joins from two different workers
|
|
-- This test runs the below query from the :worker_2_port and the
|
|
-- concurrent test runs the same query on :worker_1_port. Note that, both
|
|
-- tests use the same sequence ids but the queries should not fail.
|
|
\c - - - :worker_2_port
|
|
|
|
SET citus.max_adaptive_executor_pool_size TO 1;
|
|
SET citus.enable_repartition_joins to ON;
|
|
CREATE TEMP TABLE t1 AS
|
|
SELECT
|
|
l1.l_comment
|
|
FROM
|
|
lineitem_mx l1, orders_mx l2
|
|
WHERE
|
|
l1.l_comment = l2.o_comment;
|