Now that counters are supported with tablets, update the keyspace statement for counters to allow it to run with tablets.
6 lines
283 B
SQL
6 lines
283 B
SQL
DROP KEYSPACE IF EXISTS counters;
|
|
|
|
CREATE KEYSPACE IF NOT EXISTS counters WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '3'};
|
|
|
|
CREATE TABLE IF NOT EXISTS counters.counter1 (key blob PRIMARY KEY, "C0" counter, "C1" counter, "C2" counter, "C3" counter, "C4" counter);
|