I have created keyspace and table in Cassandra from cqlsh shell
CREATE KEYSPACE data WITH replication= {'class':'SimpleStrategy', 'replication_factor':1;
CREATE TABLE test.patient(id int, heart_rate int, PRIMARY KEY(id));
I want to create keyspace and Table if it does not exists from Flink code, Can someone please tell me how it can be done?
You can look the test case org.apache.flink.streaming.connectors.cassandra.CassandraConnectorITCase.java, may be able to help you.