Open ozgune opened 6 years ago
We've lots of SELECT create_distributed_table('referencing_table', 'ref_id', 'hash');
which is confusing. We should consider replacing them SELECT create_distributed_table('referencing_table', 'ref_id');
(e.g., remove hash
from the calls).
In Citus 6.0, we changed our table creation APIs. Customers would previously call
master_create_distributed_table()
andmaster_create_worker_shards()
to create distributed tables. We deprecated these APIs in favor ofcreate_distributed_table()
.We still use the deprecated APIs in 54 regression tests. We should update these regressions to the new APIs. We found that the old APIs fall into three groups:
master_create_worker_shards
)As we are converting the old APIs, we should pay attention to the shard count and replication factor settings. Today, we set the replication factor through a GUC.