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

Optionally return null when attempting to Increment KeyValue that doesn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Phoenix

    Description

      Instead of creating a new KeyValue starting from 0 when an Increment is done on a row that doesn't exist, we should optionally return null. A Get is already being done, so it's easy to detect this case. This can be done in a backward compatible manner if the behavior is done optionally. In addition, Increment does not allow me to specify the timestamp to use for the KeyValue. This should be added as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: