I have a schema design that looks like this:
Table: User
Row Column Family
User
u1 User:name
User:mail
Table: Tags
Row Column
t1 tag_id
So, it's a table in a table. My question is, how do I add a table in a table by using the HBase shell? I know the 'put' command to add values to a column in a specific column family. But, it gives me not the ability to add a table in a table. Does anyone know how to do this?
Thanks, Leander
Update 25 june,
Thanks Tariq! I fixed it this way (inspired by your answer)
Table: User
u1 User:name
User:mail
User:tags = ['t1', 't2', 't4']
Table: Tags
t1 Tag:tag_id
Tag:users = ['u1', 'u2']