Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17318

Increment does not add new column if the increment amount is zero at first time writing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.98.23, 1.2.4, 2.0.0
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-17318-branch-1.2-v1.patch
          1 kB
          Guangxu Cheng
        2. HBASE-17318-branch-1.2-v2.patch
          6 kB
          Guangxu Cheng
        3. HBASE-17318-master-v1.patch
          6 kB
          Guangxu Cheng

        Activity

          People

            gxcheng Guangxu Cheng
            gxcheng Guangxu Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: