If I have 2 column families one for customer info and another for customer address info, how can I insert customer info and their address info to the two separate column families with the same row key(customer id) ?
Asked
Active
Viewed 99 times
1 Answers
1
Use the batch insert.
BEGIN BATCH
DML for insert into customer info ;
DML for insert into customer address info, ;
APPLY BATCH ;
Why do you need two tables with the same primary? Can't you club them into one?

GAK
- 1,018
- 1
- 14
- 33