0

Cassandra -Compound Primary key

Hello

I am trying to create a table with Primary key and partition key as follows,

Create Table if not exists Schema.Alert

(

...

PRIMARY KEY (("Col1","Col2"), Col3,Col4,Col5)

) WITH CLUSTERING ORDER by (Col5 ASC);

Primary key : Col1 to col5

Partition Key : Col1 AND Col2 

I am unable to do so in the hackolade app,as I can onl add 1 column at a time in the partition key (on the right pane).

Please advise 

Cheers

kalyan

3 comments

Please sign in to leave a comment.