【发布时间】:2021-10-08 17:02:58
【问题描述】:
[用户在YugabyteDB Community Slack上发布的问题]
我正在尝试浏览row-level geo-partitioning 的演示说明。我已经创建了父表和表空间,但是在尝试创建分区表时出现以下错误:
CREATE TABLE transactions_us
PARTITION OF transactions
(user_id, account_id, geo_partition, account_type,
amount, txn_type, created_at,
PRIMARY KEY (user_id HASH, account_id, geo_partition))
FOR VALUES IN ('US') TABLESPACE us_tablespace;
ERROR: Invalid argument: Invalid table definition: Error creating table transactions_us on the master: Cannot colocate hash partitioned table
这些演示说明仍然有效吗?
【问题讨论】:
标签: yugabyte-db