|
|
-
can we use same column name for 2 different column families?
Ramasubramanian Narayanan... 2013-03-10, 18:11
Hi,
Is it fine to use same column name for 2 different column families?
For example,
In a table "emp",
can we have column name "dob" under column family "F1" & "F2"?
Please let me know the impact of having like this if any...
Note : I don't want to use dob1 or some other field name for the second column... use case is like that...
regards, Rams
-
Re: can we use same column name for 2 different column families?
shashwat shriparv 2013-03-10, 18:31
Ya sure you can have that... as you always specify columnfamily to read out of hbase, i dont think there should be a problem in that.
∞ Shashwat Shriparv
On Sun, Mar 10, 2013 at 11:41 PM, Ramasubramanian Narayanan < [EMAIL PROTECTED]> wrote:
> Hi, > > Is it fine to use same column name for 2 different column families? > > For example, > > In a table "emp", > > can we have column name "dob" under column family "F1" & "F2"? > > Please let me know the impact of having like this if any... > > Note : I don't want to use dob1 or some other field name for the second > column... use case is like that... > > regards, > Rams >
-
RE: can we use same column name for 2 different column families?
Anoop Sam John 2013-03-11, 04:50
>can we have column name "dob" under column family "F1" & "F2"? Just fine.. Go ahead.. :)
-Anoop- ________________________________________ From: Ramasubramanian Narayanan [[EMAIL PROTECTED]] Sent: Sunday, March 10, 2013 11:41 PM To: [EMAIL PROTECTED] Subject: can we use same column name for 2 different column families?
Hi,
Is it fine to use same column name for 2 different column families?
For example,
In a table "emp",
can we have column name "dob" under column family "F1" & "F2"?
Please let me know the impact of having like this if any...
Note : I don't want to use dob1 or some other field name for the second column... use case is like that...
regards, Rams
-
Re: can we use same column name for 2 different column families?
ramkrishna vasudevan 2013-03-11, 04:57
As note of caution just don have two empty qualifiers in the same CF but u can still have empty qualifiers in diff CFs.
Regards Ram
On Mon, Mar 11, 2013 at 10:20 AM, Anoop Sam John <[EMAIL PROTECTED]> wrote:
> >can we have column name "dob" under column family "F1" & "F2"? > Just fine.. Go ahead.. :) > > -Anoop- > ________________________________________ > From: Ramasubramanian Narayanan [[EMAIL PROTECTED]] > Sent: Sunday, March 10, 2013 11:41 PM > To: [EMAIL PROTECTED] > Subject: can we use same column name for 2 different column families? > > Hi, > > Is it fine to use same column name for 2 different column families? > > For example, > > In a table "emp", > > can we have column name "dob" under column family "F1" & "F2"? > > Please let me know the impact of having like this if any... > > Note : I don't want to use dob1 or some other field name for the second > column... use case is like that... > > regards, > Rams >
|
|