-- Example for a single datacenter named datacenter1; set production RF appropriately. CREATE KEYSPACE IF NOT EXISTS adcloud WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter1': 1}; -- Each immutable profile revision is a separate bounded partition. -- Sparse attributes are individual fields; absent attributes occupy no rows. CREATE TABLE IF NOT EXISTS adcloud.identity_profile_fields ( tenant_id text, master_id text, revision int, field text, value text, PRIMARY KEY ((tenant_id, master_id, revision), field) );