DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

hardik avatar image
hardik asked Erick Ramirez answered

Why is there a need to use cast function for DS220 Exercise 5.4 ?

For getting video titles and release dates by genre, why don't we simply create a table with genre as the partition key and video title and release date as the unique key ?

This way we can query the list by genre.

ds220
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

Your question doesn't make sense to me so I was hoping you could provide a bit more context.

Specifically, what did you mean by "unique key"? Partition keys are unique identifiers of partitions in a table so you question is confusing. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.