mirror of https://github.com/citusdata/citus.git
Force task executor
parent
cf8319b992
commit
099e266a6c
|
@ -1056,6 +1056,7 @@ DEBUG: assigned task to node localhost:xxxxx
|
||||||
4
|
4
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
SET citus.task_executor_type TO 'adaptive';
|
||||||
-- Check that subquery NOT is pruned when ANDed to a valid constraint
|
-- Check that subquery NOT is pruned when ANDed to a valid constraint
|
||||||
SELECT count(*) FROM orders_hash_partitioned
|
SELECT count(*) FROM orders_hash_partitioned
|
||||||
WHERE o_orderkey IN (1,2) AND o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 1);
|
WHERE o_orderkey IN (1,2) AND o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 1);
|
||||||
|
@ -1115,4 +1116,5 @@ DEBUG: assigned task to node localhost:xxxxx
|
||||||
3
|
3
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
SET citus.task_executor_type TO DEFAULT;
|
||||||
SET client_min_messages TO DEFAULT;
|
SET client_min_messages TO DEFAULT;
|
||||||
|
|
|
@ -274,6 +274,8 @@ SELECT count(*) FROM orders_hash_partitioned
|
||||||
SELECT count(*) FROM orders_hash_partitioned
|
SELECT count(*) FROM orders_hash_partitioned
|
||||||
WHERE NOT (o_orderkey = 2 AND o_orderkey = 3);
|
WHERE NOT (o_orderkey = 2 AND o_orderkey = 3);
|
||||||
|
|
||||||
|
SET citus.task_executor_type TO 'adaptive';
|
||||||
|
|
||||||
-- Check that subquery NOT is pruned when ANDed to a valid constraint
|
-- Check that subquery NOT is pruned when ANDed to a valid constraint
|
||||||
SELECT count(*) FROM orders_hash_partitioned
|
SELECT count(*) FROM orders_hash_partitioned
|
||||||
WHERE o_orderkey IN (1,2) AND o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 1);
|
WHERE o_orderkey IN (1,2) AND o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 1);
|
||||||
|
@ -282,4 +284,5 @@ SELECT count(*) FROM orders_hash_partitioned
|
||||||
SELECT count(*) FROM orders_hash_partitioned
|
SELECT count(*) FROM orders_hash_partitioned
|
||||||
WHERE o_orderkey IN (1,2) OR o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 3);
|
WHERE o_orderkey IN (1,2) OR o_custkey NOT IN (SELECT o_custkey FROM orders_hash_partitioned WHERE o_orderkey = 3);
|
||||||
|
|
||||||
|
SET citus.task_executor_type TO DEFAULT;
|
||||||
SET client_min_messages TO DEFAULT;
|
SET client_min_messages TO DEFAULT;
|
||||||
|
|
Loading…
Reference in New Issue