Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Fw: Regarding Rowkey and Column Family


+
varaprasad.bheri@... 2012-12-27, 07:19
+
Jean-Marc Spaggiari 2012-12-28, 13:13
+
Ramasubramanian Narayanan... 2012-12-24, 10:11
Copy link to this message
-
Re: Regarding Rowkey and Column Family
you are creating 2 different rows here. cf means how column are clubbed
together as a single entity which is represented by that cf. but here you
are creating 2 different rows having one cf each, CF1 and CF2 respectively.
if you want to have 1 row with 2 cf, you have to do use same rowkey for
both the cf.

Best Regards,
Tariq
+91-9741563634
https://mtariq.jux.com/
On Mon, Dec 24, 2012 at 3:41 PM, Ramasubramanian Narayanan <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> *Table Name : Customer*
> *
> *
> *Field Name         Column Family*
> Customer Number      CF1
> DOB                  CF1
> FName                CF1
> MName                CF1
> LName                CF1
> Address Type         CF2
> Address Line1        CF2
> Address Line2        CF2
> Address Line3        CF2
> Address Line4        CF2
> State                CF2
> City                 CF2
> Country              CF2
>
> Is it good to have rowkey as follows for the same table?
>
> Rowkey Design:
> --------------
> For CF1 : Customer Number + YYYYMMD (business date)
> For CF2 : Customer Number + Address Type
>
> Note :
> Address Type can be any of HOME/OFFICE/OTHERS
>
> regards,
> Rams
>
+
Ramasubramanian Narayanan... 2012-12-24, 11:30
+
Mohammad Tariq 2012-12-24, 13:15
+
Jean-Marc Spaggiari 2012-12-24, 14:24
+
Ramasubramanian 2012-12-24, 14:37
+
Ramasubramanian 2012-12-24, 14:48
+
Jean-Marc Spaggiari 2012-12-24, 15:45
+
Ramasubramanian Narayanan... 2012-12-26, 15:05
+
Mohammad Tariq 2012-12-26, 15:39
+
Ramasubramanian Narayanan... 2012-12-26, 16:20
+
Jean-Marc Spaggiari 2012-12-26, 16:24