mirror of https://github.com/citusdata/citus.git
test parallel repartition joins with adaptive
parent
14c6861e5d
commit
453d2d2b66
|
@ -4,7 +4,9 @@
|
||||||
-- tests use the same sequence ids but the queries should not fail.
|
-- tests use the same sequence ids but the queries should not fail.
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
SET citus.task_executor_type TO "task-tracker";
|
SET citus.max_adaptive_executor_pool_size TO 2;
|
||||||
|
SET citus.enable_repartition_joins to ON;
|
||||||
|
SET citus.task_executor_type = 'adaptive';
|
||||||
CREATE TEMP TABLE t1 AS
|
CREATE TEMP TABLE t1 AS
|
||||||
SELECT
|
SELECT
|
||||||
l1.l_comment
|
l1.l_comment
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
-- tests use the same sequence ids but the queries should not fail.
|
-- tests use the same sequence ids but the queries should not fail.
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
SET citus.task_executor_type TO "task-tracker";
|
SET citus.max_adaptive_executor_pool_size TO 2;
|
||||||
|
SET citus.enable_repartition_joins to ON;
|
||||||
|
SET citus.task_executor_type = 'adaptive';
|
||||||
CREATE TEMP TABLE t1 AS
|
CREATE TEMP TABLE t1 AS
|
||||||
SELECT
|
SELECT
|
||||||
l1.l_comment
|
l1.l_comment
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
SET client_min_messages = LOG;
|
SET client_min_messages = LOG;
|
||||||
-- Query that should result in a repartition join on UDT column.
|
-- Query that should result in a repartition join on UDT column.
|
||||||
SET citus.task_executor_type = 'task-tracker';
|
SET citus.max_adaptive_executor_pool_size TO 2;
|
||||||
|
SET citus.enable_repartition_joins to ON;
|
||||||
|
SET citus.task_executor_type = 'adaptive';
|
||||||
SET citus.log_multi_join_order = true;
|
SET citus.log_multi_join_order = true;
|
||||||
|
|
||||||
-- Query that should result in a repartition
|
-- Query that should result in a repartition
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
SET client_min_messages = LOG;
|
SET client_min_messages = LOG;
|
||||||
-- Query that should result in a repartition join on UDT column.
|
-- Query that should result in a repartition join on UDT column.
|
||||||
SET citus.task_executor_type = 'task-tracker';
|
SET citus.max_adaptive_executor_pool_size TO 2;
|
||||||
|
SET citus.enable_repartition_joins to ON;
|
||||||
|
SET citus.task_executor_type = 'adaptive';
|
||||||
SET citus.log_multi_join_order = true;
|
SET citus.log_multi_join_order = true;
|
||||||
|
|
||||||
-- Query that should result in a repartition
|
-- Query that should result in a repartition
|
||||||
|
|
Loading…
Reference in New Issue