This is the code I have used for writing my program but there are errors - please give us some suggestions with the corrected code.
session.execute("INSERT INTO users JSON '{'id':'user123' , 'age':21 ,'state':'TX'}';");
The errors are directed to this one statement so I thought that its not necessary to present the whole code here.TABLE users has already been created in the cassandra database with the columns id, age and state. I could not find any proper answers for this problem anywhere, I hope my problem is solved here.