You simply have to do a

hbase> get 'tablename', 'rowkey', {COLUMN => 'colfam:oldqualifier'}
value
hbase> put 'tablename', 'rowkey', 'colfam:newqualifier', 'value'
hbase> deleteall 'tablename', 'rowkey', 'colfam:oldqualifier'

Do a hbase> help to get all the gory details.

Lars

Vincent Barat schrieb:
I was looking for a shell sample, if it is possible to do this with the shell.

Lars George a écrit :
Hi Vincent,

You will have to store the data under the new column qualifier and delete the old. Are you looking for a shell or API example?

Lars

Vincent Barat schrieb:
Hi,

I'm looking for a simple way to rename a column (not a column family). Is there any ?


Reply via email to