I am new to Cassandra database, I have created keyspace and table.Then, I would like to execute large number of queries that are saved inside a test.sql file ( I dont want to perform Importing from CSV ). My test.sql file content is looks like this..
INSERT INTO contact_detail (<fields>) VALUES(<values>);
INSERT INTO contact_detail (<fields>) VALUES(<values>);
INSERT INTO contact_detail (<fields>) VALUES(<values>);
INSERT INTO contact_detail (<fields>) VALUES(<values>);
I have saved this file into Cassandra bin directory.
how can i run this file and execute all the insert statement? I need to insert all the values to Cassandra Database, how is that possible?