You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guangxu Cheng (JIRA)" <ji...@apache.org> on 2016/12/14 12:35:58 UTC

[jira] [Created] (HBASE-17318) Increment does not add new column if the increment amount is zero at first time writing

Guangxu Cheng created HBASE-17318:
-------------------------------------

             Summary: 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: 1.2.4, 0.98.23, 2.0.0
            Reporter: Guangxu Cheng


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)