Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有 2 个列族,一个用于客户信息,另一个用于客户地址信息,如何将客户信息及其地址信息插入到具有相同行键(客户 ID)的两个单独的列族中?
使用批量插入。
BEGIN BATCH DML for insert into customer info ; DML for insert into customer address info, ; APPLY BATCH ;
为什么需要两个具有相同主表的表?你不能把它们合二为一吗?