Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8149013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:45:51+00:00 2026-06-06T14:45:51+00:00

I have a schema design that looks like this: Table: User Row Column Family

  • 0

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']
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:45:52+00:00Added an answer on June 6, 2026 at 2:45 pm

    This is not possible. However you can design your schema wisely to fit it into your requirements. For example, create a table “user” just like you have shown..Then create one more table called “Tags” with a single column family “tag_id”..Make he row keys for the “User” table just like you have specified above and for the “Tags” table create row keys by suffixing “t1” to “u1” so that all the tags by a particular user will go to the same row..So your keys will look somewhat like this “abc+t1”..This will help you to fetch the tags by a particular user efficiently..Please let me know if you find it appropriate for your use-case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a schema that essentially looks like this: CREATE TABLE `data` ( `id`
I have a legacy SQL schema which looks something like this: CREATE TABLE `User`
I have a table which have schema like this id name 1 jack 2
I have a C++ key/value table that looks like this: class kvBucket { ...
I am working with a legacy database schema that looks like this: product_table table
I have a list view that looks like this and that's its code ..
I have a simple Window that looks like this: <Window x:Class=StackOverflowExample.MainWindow xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml Title=MainWindow
I know that I should have schema of a table before calling NewRow method
I have a schema like this <h1> 5/2009 <br/> Question: This is the question
I have this schema: <xs:complexType name=foo> <xs:sequence> <xs:element name=oneBar type=xs:string minOccurs=0/> <xs:element name=twoBar type=xs:string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.