You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "@Nandan@" <na...@gmail.com> on 2017/06/05 03:03:15 UTC
Reg:- Generate dummy data for Cassandra Tables
Hi All,
As I am creating oneself project for Cassandra Project in which I want to
insert some random dummy data into my tables.
Please tell me how to do this as in distributive nature?
Below is just an example :-
Table1 :- videos
create table videos(videoid uuid PRIMARY KEY,title text,tag text,added_time
timestamp,year int);
Table2 :- videos_by_actor
create table videos_by_actor(actor text,uploaded_time timestamp,videoid
uuid,userid uuid,title text,primary key (actor,uploaded_time,videoid));
Table3:- users
create table users(userid uuid,first_name text,last_name text,email
text,join_year int,primary key(userid));
Table4:- user_login
create table user_login(email text primary key,password text,userid uuid);
Please help me to know how to generate dummy data and insert into all
tables which satisfy the distributive nature.
Thanks.
Nandan
Re: Reg:- Generate dummy data for Cassandra Tables
Posted by DuyHai Doan <do...@gmail.com>.
Personally I'm using https://github.com/Marak/faker.js/ to generate
various kind of dataset. That's the most comprehensive "free" data
generator I've found so far but it's in JS.
On Mon, Jun 5, 2017 at 7:13 AM, Jeff Jirsa <jj...@apache.org> wrote:
> On 2017-06-04 20:03 (-0700), "@Nandan@" <na...@gmail.com>
> wrote:
> > Hi All,
> >
> > As I am creating oneself project for Cassandra Project in which I want to
> > insert some random dummy data into my tables.
>
> Jon @ TheLastPickle has a nice tool to do this: https://github.com/
> rustyrazorblade/cdm
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: user-help@cassandra.apache.org
>
>
Re: Reg:- Generate dummy data for Cassandra Tables
Posted by Jeff Jirsa <jj...@apache.org>.
On 2017-06-04 20:03 (-0700), "@Nandan@" <na...@gmail.com> wrote:
> Hi All,
>
> As I am creating oneself project for Cassandra Project in which I want to
> insert some random dummy data into my tables.
Jon @ TheLastPickle has a nice tool to do this: https://github.com/rustyrazorblade/cdm
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org