[ 
https://issues.apache.org/jira/browse/HBASE-17318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15753097#comment-15753097
 ] 

Guangxu Cheng commented on HBASE-17318:
---------------------------------------

[~tedyu] [~anoop.hbase] Thanks for your reviewing.

> Increment does not add new column if the increment amount is zero at first 
> time writing
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-17318
>                 URL: https://issues.apache.org/jira/browse/HBASE-17318
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0, 0.98.23, 1.2.4
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-17318-branch-1.2-v1.patch, 
> HBASE-17318-branch-1.2-v2.patch, HBASE-17318-master-v1.patch
>
>
> When the data written for the first time is 0, no new columns are added.
> Iterate the input columns and update existing values if they were found, 
> otherwise add new column initialized to the increment amount.
> Does not add new column if the increment amount is zero at first time 
> writting.
> It is necessary to add a new column at the first write to 0. 
> If not, the result of using the phoenix is NULL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to