mookkiah commented on pull request #427:
URL: https://github.com/apache/incubator-hop/pull/427#issuecomment-739690145


   https://vocon-it.com/2016/12/08/cassandra-hello-world-example/
   
   For testing if you don't have have Cassandra 
   ```
   $ docker run -it --rm --name cassandra-node1 -p7000:7000 -p7001:7001 
-p9042:9042 -p9160:9160 cassandra
    
   $ docker run -it --rm -e CQLSH_HOST=$(docker inspect --format='{{ 
.NetworkSettings.IPAddress }}' cassandra-node1) --name cassandra-client 
--entrypoint=cqlsh cassandra
   cqlsh> create keyspace mykeyspace with replication = 
{'class':'SimpleStrategy','replication_factor' : 2};
    
   cqlsh> use mykeyspace;
   cqlsh:mykeyspace> create table usertable (userid int primary key, 
usergivenname varchar, userfamilyname varchar, userprofession varchar);
   cqlsh:mykeyspace>
   cqlsh:mykeyspace> insert into usertable (userid, usergivenname, 
userfamilyname, userprofession) values (1, 'Oliver', 'Veits', 'Freelancer');
   cqlsh:mykeyspace>
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to