$ cqlsh
cqlsh> create keyspace company with replication ={'class': 'SimpleStrategy', 'replication_factor':1} ;
cqlsh> use company;
cqlsh:company> create table employee (id Int primary key, name text, email text, dob timestamp);
cqlsh:company> insert into employee(id, name, email, dob) values (1, 'bob' , 'bob@gmail.com', 615234600000);
cqlsh:company> insert into employee(id, name, email, dob) values (2, 'rob' , 'rob@gmail.com', 610234600000);
cqlsh:company> select * from employee ;
-
Notifications
You must be signed in to change notification settings - Fork 0
techmonad/spark-cassandra-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It is spark sample project for reading/writing data from/to Cassandra using spark-cassandra-connector.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published