mirror of https://github.com/citusdata/citus.git
Simplify ContainsOnlyLocalTables function to check only for distributed tables
parent
c1f5762645
commit
6c03d1b82b
|
@ -2562,7 +2562,7 @@ AllShardsColocated(List *relationShardList)
|
||||||
bool
|
bool
|
||||||
ContainsOnlyLocalTables(RTEListProperties *rteProperties)
|
ContainsOnlyLocalTables(RTEListProperties *rteProperties)
|
||||||
{
|
{
|
||||||
return !rteProperties->hasDistributedTable && !rteProperties->hasReferenceTable;
|
return !rteProperties->hasDistributedTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue