Hey guys!
So I've got an ER diagram for a relational model, and I want to move it to a NoSQL system called Cassandra which is a wide-column store. I've had some ideas but after trying different things (which turned out to be wrong), I just can't seem to wrap my head round it.
The ER Diagram is here:
![[Image: z7zkKaG.png]](https://i.imgur.com/z7zkKaG.png)
So basically, I want to embed the country and city information within the airports column family, and then create other appropriate column families.
The main part of the problem is I have to define the data model using JSON Schema. I know how I would write it, I just need to first figure out what the structure of the existing relational model will be in Cassandra.
All help appreciated!
So I've got an ER diagram for a relational model, and I want to move it to a NoSQL system called Cassandra which is a wide-column store. I've had some ideas but after trying different things (which turned out to be wrong), I just can't seem to wrap my head round it.
The ER Diagram is here:
![[Image: z7zkKaG.png]](https://i.imgur.com/z7zkKaG.png)
So basically, I want to embed the country and city information within the airports column family, and then create other appropriate column families.
The main part of the problem is I have to define the data model using JSON Schema. I know how I would write it, I just need to first figure out what the structure of the existing relational model will be in Cassandra.
All help appreciated!
![[Image: DPVMM5G.png]](https://i.imgur.com/DPVMM5G.png)

