Merge branch 'master' into col/pg-upgrade-dependency

pull/5456/head
Onur Tirtir 2021-11-26 09:34:43 +03:00 committed by GitHub
commit 85da4fc2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 73 deletions

View File

@ -492,7 +492,7 @@ PruneShards(Oid relationId, Index rangeTableId, List *whereClauseList,
}
else
{
ereport(DEBUG3, (errmsg("no sharding pruning constraints on %s found",
ereport(DEBUG3, (errmsg("no shard pruning constraints on %s found",
relationName)));
}

View File

@ -283,10 +283,10 @@ DEBUG: Creating router plan
SELECT count(*) FROM lineitem_hash_part
WHERE l_orderkey = ANY (NULL);
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -299,10 +299,10 @@ DEBUG: assigned task to node localhost:xxxxx
SELECT count(*) FROM lineitem_hash_part
WHERE l_orderkey IN (NULL) OR TRUE;
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -315,10 +315,10 @@ DEBUG: assigned task to node localhost:xxxxx
SELECT count(*) FROM lineitem_hash_part
WHERE l_orderkey = ANY (NULL) OR TRUE;
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -331,14 +331,14 @@ DEBUG: assigned task to node localhost:xxxxx
-- Check whether we support IN/ANY in subquery
SELECT count(*) FROM lineitem_hash_part WHERE l_orderkey IN (SELECT l_orderkey FROM lineitem_hash_part);
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -350,14 +350,14 @@ DEBUG: assigned task to node localhost:xxxxx
(1 row)
SELECT count(*) FROM lineitem_hash_part WHERE l_orderkey = ANY (SELECT l_orderkey FROM lineitem_hash_part);
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: no sharding pruning constraints on lineitem_hash_part found
DEBUG: no shard pruning constraints on lineitem_hash_part found
DEBUG: shard count after pruning for lineitem_hash_part: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -371,10 +371,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- Check whether we support range queries
SELECT count(*) FROM lineitem
WHERE l_orderkey >= 1 AND l_orderkey <= 3;
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -385,10 +385,10 @@ DEBUG: assigned task to node localhost:xxxxx
SELECT count(*) FROM lineitem
WHERE (l_orderkey >= 1 AND l_orderkey <= 3) AND (l_quantity > 11 AND l_quantity < 22);
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -436,10 +436,10 @@ DEBUG: assigned task to node localhost:xxxxx
SELECT count(*) FROM lineitem
WHERE l_orderkey = ANY(NULL) OR TRUE;
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -474,10 +474,10 @@ DEBUG: Creating router plan
SELECT count(*) FROM lineitem_range
WHERE l_orderkey = ANY(NULL) OR TRUE;
DEBUG: no sharding pruning constraints on lineitem_range found
DEBUG: no shard pruning constraints on lineitem_range found
DEBUG: shard count after pruning for lineitem_range: 2
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem_range found
DEBUG: no shard pruning constraints on lineitem_range found
DEBUG: shard count after pruning for lineitem_range: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -490,10 +490,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- equality operator
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey < ALL ('{1,2,3}');
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -508,10 +508,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- columns are used with ANY/IN/ALL
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 OR o_totalprice IN (20, 30);
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -524,10 +524,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- Check that we cannot prune for mutable functions.
SELECT count(*) FROM orders_hash_partitioned WHERE o_orderkey = (random() + 100);
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -540,10 +540,10 @@ DEBUG: assigned task to node localhost:xxxxx
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = (random() + 100) OR o_orderkey = 1;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -569,14 +569,14 @@ DEBUG: query has a single distribution column value: 1
SELECT count(*)
FROM orders_hash_partitioned orders1, orders_hash_partitioned orders2
WHERE orders1.o_orderkey = orders2.o_orderkey;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: join prunable for intervals [-2147483648,-1073741825] and [-1073741824,-1]
DEBUG: join prunable for intervals [-2147483648,-1073741825] and [0,1073741823]
@ -617,10 +617,10 @@ DEBUG: query has a single distribution column value: 1
-- All shards used without constraints
SELECT count(*) FROM orders_hash_partitioned;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -769,10 +769,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- All shards used with prunable expression ORed with unprunable expression
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey IN (1,2) OR o_custkey = 33;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -857,10 +857,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- All shards used with prunable SAO constraint ORed with unprunable nested expression
SELECT count(*) FROM orders_hash_partitioned
WHERE ((o_orderkey IN (1,2)) AND (o_custkey = 11 OR o_custkey = 22)) OR o_custkey = 33;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -894,10 +894,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- All shards used with ORed top level unprunable expression
SELECT count(*) FROM orders_hash_partitioned
WHERE o_custkey = 11 OR (o_orderkey = 2 AND o_custkey = 22);
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -922,7 +922,7 @@ DEBUG: Creating router plan
-- Single shard used when top prunable expression is restrictive with nested ANDs
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 AND ((o_orderkey = 2 OR o_orderkey = 3) AND (o_custkey = 11 OR o_custkey = 22));
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 0
DEBUG: Creating router plan
DEBUG: query has a single distribution column value: 1
@ -954,10 +954,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- Deeply nested non prunable expression uses all shards
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 OR ((o_orderkey = 2 OR o_custkey = 11) AND (o_custkey = 22 OR o_custkey = 33));
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -971,10 +971,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- a OR partkey != x Uses all shards
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 OR o_orderkey != 2;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -988,10 +988,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- a OR partkey IS NULL Uses all shards
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 OR o_orderkey IS NULL;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -1005,10 +1005,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- a OR partkey IS NOT NULL Uses all shards
SELECT count(*) FROM orders_hash_partitioned
WHERE o_orderkey = 1 OR o_orderkey IS NOT NULL;
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -1031,10 +1031,10 @@ DEBUG: Creating router plan
-- Check that NOT is handled with EQs ORed
SELECT count(*) FROM orders_hash_partitioned
WHERE NOT (o_orderkey = 2 OR o_orderkey = 3);
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -1065,10 +1065,10 @@ DEBUG: assigned task to node localhost:xxxxx
-- Check that NOT is handled with EQs ANDed
SELECT count(*) FROM orders_hash_partitioned
WHERE NOT (o_orderkey = 2 AND o_orderkey = 3);
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -1113,7 +1113,7 @@ 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);
DEBUG: constraint value: 3
DEBUG: shard count after pruning for orders_hash_partitioned: 1
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: constraint value: 3
@ -1122,10 +1122,10 @@ DEBUG: Creating router plan
DEBUG: query has a single distribution column value: 3
DEBUG: generating subplan XXX_1 for subquery SELECT o_custkey FROM public.orders_hash_partitioned WHERE (o_orderkey OPERATOR(pg_catalog.=) 3)
DEBUG: Plan XXX query after replacing subqueries and CTEs: SELECT count(*) AS count FROM public.orders_hash_partitioned WHERE ((o_orderkey OPERATOR(pg_catalog.=) ANY (ARRAY[1, 2])) OR (NOT (o_custkey OPERATOR(pg_catalog.=) ANY (SELECT intermediate_result.o_custkey FROM read_intermediate_result('XXX_1'::text, 'binary'::citus_copy_format) intermediate_result(o_custkey integer)))))
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on orders_hash_partitioned found
DEBUG: no shard pruning constraints on orders_hash_partitioned found
DEBUG: shard count after pruning for orders_hash_partitioned: 4
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx

View File

@ -56,14 +56,14 @@ order by shardid;
set client_min_messages to debug3;
SELECT sum(l_linenumber), avg(l_linenumber) FROM lineitem, orders
WHERE l_orderkey = o_orderkey AND l_orderkey > 6000 AND o_orderkey < 6000;
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: no sharding pruning constraints on orders found
DEBUG: no shard pruning constraints on orders found
DEBUG: shard count after pruning for orders: 2
DEBUG: Router planner cannot handle multi-shard select queries
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: no sharding pruning constraints on orders found
DEBUG: no shard pruning constraints on orders found
DEBUG: shard count after pruning for orders: 2
DEBUG: join prunable for intervals [-2147483648,-1] and [0,2147483647]
DEBUG: join prunable for intervals [0,2147483647] and [-2147483648,-1]

View File

@ -18,11 +18,11 @@ FROM
WHERE
o_custkey = c_custkey;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on orders found
DEBUG: no shard pruning constraints on orders found
DEBUG: shard count after pruning for orders: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
DEBUG: no sharding pruning constraints on customer_append found
DEBUG: no shard pruning constraints on customer_append found
DEBUG: shard count after pruning for customer_append: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -76,12 +76,12 @@ WHERE
o_custkey = c_custkey AND
o_orderkey = l_orderkey;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on customer_append found
DEBUG: no shard pruning constraints on customer_append found
DEBUG: shard count after pruning for customer_append: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -131,11 +131,11 @@ FROM
WHERE
l_partkey = c_nationkey;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on lineitem found
DEBUG: no shard pruning constraints on lineitem found
DEBUG: shard count after pruning for lineitem: 2
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
DEBUG: no sharding pruning constraints on customer_append found
DEBUG: no shard pruning constraints on customer_append found
DEBUG: shard count after pruning for customer_append: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx

View File

@ -70,7 +70,7 @@ SET client_min_messages TO DEBUG3;
SET citus.task_assignment_policy TO 'greedy';
EXPLAIN (COSTS OFF) SELECT count(*) FROM task_assignment_test_table;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on task_assignment_test_table found
DEBUG: no shard pruning constraints on task_assignment_test_table found
DEBUG: shard count after pruning for task_assignment_test_table: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -84,7 +84,7 @@ DEBUG: assigned task to node localhost:xxxxx
EXPLAIN (COSTS OFF) SELECT count(*) FROM task_assignment_test_table;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on task_assignment_test_table found
DEBUG: no shard pruning constraints on task_assignment_test_table found
DEBUG: shard count after pruning for task_assignment_test_table: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -100,7 +100,7 @@ DEBUG: assigned task to node localhost:xxxxx
SET citus.task_assignment_policy TO 'first-replica';
EXPLAIN (COSTS OFF) SELECT count(*) FROM task_assignment_test_table;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on task_assignment_test_table found
DEBUG: no shard pruning constraints on task_assignment_test_table found
DEBUG: shard count after pruning for task_assignment_test_table: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx
@ -114,7 +114,7 @@ DEBUG: assigned task to node localhost:xxxxx
EXPLAIN (COSTS OFF) SELECT count(*) FROM task_assignment_test_table;
DEBUG: Router planner does not support append-partitioned tables.
DEBUG: no sharding pruning constraints on task_assignment_test_table found
DEBUG: no shard pruning constraints on task_assignment_test_table found
DEBUG: shard count after pruning for task_assignment_test_table: 3
DEBUG: assigned task to node localhost:xxxxx
DEBUG: assigned task to node localhost:xxxxx