You attempted to create a distribution constraint using create_distribution_constraint() on a table but the named table does not have local scope
Ensure the table has local scope
- Is the table name correct?
- Does the table name need to be qualified by a schema name?
- Use the star$tables view to find the name and scope of known tables