hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hbase put multiple values in a single cell
Date Thu, 22 Oct 2015 11:07:38 GMT
Can you give some detail on why the 3 children names need to be in same
cell (instead of under different columns) ?
I assume the combination of children names varies. If you want to query
data for specific child (e.g. Child1Name), you may read unnecessary data
which is discarded after parsing.


On Thu, Oct 22, 2015 at 1:35 AM, Spico Florin <spicoflorin@gmail.com> wrote:

> In HBase, I would like to store more many record data into the cell value.
> For example, given the record: ParentId1, Child1Name,Child2Name,Child3Name
> I would like to store it as:
> rowkey:ParentI1,cf-children:col-name:Child1Name,Chil2Name,Child3Name.
> So in the cell value I would like to add all the childrens name. Should I
> use a separator for storing these names or there is an API or best
> practices how to store them? Thank you.\
> Regards,
>  Florin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message