Connect to Cassandra and create a keyspace
✅ Start Cassandra:
./cassandra
✅ Start the CQL shell:
cqlsh
✅ Create the keyspace:
CREATE KEYSPACE IF NOT EXISTS ks_advanced_data_types
WITH replication = {
'class': 'NetworkTopologyStrategy',
'DC-Houston': 1 };
✅ Set the current working keyspace:
USE ks_advanced_data_types;