From 080f711e620c125927f6e646d3a198f62fe290e5 Mon Sep 17 00:00:00 2001 From: Marco Slot Date: Fri, 12 Jun 2020 10:27:22 +0200 Subject: [PATCH] Remove useless debug message in router planner --- src/backend/distributed/planner/multi_router_planner.c | 2 -- src/test/regress/expected/multi_router_planner.out | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/backend/distributed/planner/multi_router_planner.c b/src/backend/distributed/planner/multi_router_planner.c index 636515b37..0b1e35be4 100644 --- a/src/backend/distributed/planner/multi_router_planner.c +++ b/src/backend/distributed/planner/multi_router_planner.c @@ -2145,8 +2145,6 @@ PlanRouterQuery(Query *originalQuery, hasLocalRelation); if (taskPlacementList == NIL) { - ereport(DEBUG2, (errmsg("Found no worker with all shard placements"))); - planningError = DeferredError(ERRCODE_FEATURE_NOT_SUPPORTED, "found no worker with all shard placements", NULL, NULL); diff --git a/src/test/regress/expected/multi_router_planner.out b/src/test/regress/expected/multi_router_planner.out index a5563b667..6de5db827 100644 --- a/src/test/regress/expected/multi_router_planner.out +++ b/src/test/regress/expected/multi_router_planner.out @@ -825,7 +825,6 @@ SELECT a.author_id as first_author, b.word_count as second_word_count FROM articles_hash a, single_shard b WHERE a.author_id = 2 and a.author_id = b.author_id LIMIT 3; -DEBUG: Found no worker with all shard placements DEBUG: found no worker with all shard placements DEBUG: generating subplan XXX_1 for CTE single_shard: SELECT id, author_id, title, word_count FROM public.articles_single_shard_hash DEBUG: Creating router plan @@ -1941,7 +1940,6 @@ DETAIL: distribution column value: 2 -- not router plannable SELECT * FROM articles_hash ar join authors_range au on (ar.author_id = au.id) WHERE ar.author_id = 3; -DEBUG: Found no worker with all shard placements DEBUG: found no worker with all shard placements DEBUG: join prunable for intervals [1,10] and [11,30] DEBUG: join prunable for intervals [1,10] and [21,40]