Simplify ContainsOnlyLocalTables function to check only for distributed tables

pull/7897/head
Mehmet Yilmaz 2025-02-12 14:02:34 +00:00 committed by Mehmet YILMAZ
parent c1f5762645
commit 6c03d1b82b
1 changed files with 1 additions and 1 deletions

View File

@ -2562,7 +2562,7 @@ AllShardsColocated(List *relationShardList)
bool
ContainsOnlyLocalTables(RTEListProperties *rteProperties)
{
return !rteProperties->hasDistributedTable && !rteProperties->hasReferenceTable;
return !rteProperties->hasDistributedTable;
}