ent:* vendredi 9 juin 2017 10:27
> *To:* Jacques-Henri Berthemet
> *Cc:* user@cassandra.apache.org
> *Subject:* Re: Reg:- Data Modelling For Hierarchy Data
>
>
>
> Hi,
>
> Yes, I am following with single Users table.
>
> Suppose my query patterns are:-
>
> 1)
-materialized-views/
I don’t have experience on MVs, I’m stuck on 2.2 for now.
Regards,
--
Jacques-Henri Berthemet
From: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com]
Sent: vendredi 9 juin 2017 10:27
To: Jacques-Henri Berthemet
Cc: user@cassandra.apache.org
Subject: Re: Reg:- Data Modelling For
Hi,
Yes, I am following with single Users table.
Suppose my query patterns are:-
1) Select user by email.
2) Select user by user_type
1st query pattern will satisfy the Users table, but in the case of second
query pattern, either have to go with another table like user_by_type or I
have to create s
Hi,
According to your model a use can only be of one type, so I’d go with a very
simple model with a single table:
string email (PK), string user_type, map attributes
user_type can be Buyer, Master_Seller, Slave_Seller and all other columns go
into attribute map as long as all of them don’t ex