Skip to content

Commit

Permalink
Simplify ContainsOnlyLocalTables function to check only for distribut…
Browse files Browse the repository at this point in the history
…ed tables
  • Loading branch information
m3hm3t committed Feb 12, 2025
1 parent d28a5ea commit d9eb9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/distributed/planner/multi_router_planner.c
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ AllShardsColocated(List *relationShardList)
bool
ContainsOnlyLocalTables(RTEListProperties *rteProperties)
{
return !rteProperties->hasDistributedTable && !rteProperties->hasReferenceTable;
return !rteProperties->hasDistributedTable;
}


Expand Down

0 comments on commit d9eb9dd

Please sign in to comment.