According to the cassandra architecture we should mention fields as COMPOUND KEY. By that keys we can select data from column.
For examlpe:
CREATE TABLE hotelier.country (
uuid ascii PRIMARY KEY,
name ascii
) WITH bloom_filter_fp_chance = 0.01
Can select data only by uuid field
If want to select by name, need to ad field name as compound key.
Correct.
My question is why need to use UUID if in general compound key unique. Why need to add auxiliary field UUID?
BR!