hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: adding a column to exiting tables
Date Fri, 26 Aug 2016 12:23:02 GMT
Switching to user@


By column I guess you mean column qualifier. The addition of column
qualifier in future writes can be performed based on existing schema.

On application side, when row retrieved doesn't contain the new column
qualifier, you can interpret as seeing default value of 2.

On Thu, Aug 25, 2016 at 1:07 PM, satishleo <satishleo@gmail.com> wrote:

> Hi,
> I am a hbase newbie so posing this question, I need to add an integer
> column
> to hbase table with default value 2 and  also need to back fill the column
> value to 2 for the existing rows.
> could someone please let me know how to do this.
> --
> View this message in context: http://apache-hbase.679495.n3.
> nabble.com/adding-a-column-to-exiting-tables-tp4082097.html
> Sent from the HBase Developer mailing list archive at Nabble.com.

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