hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18546) Append/Increment a cell with custom timestamp
Date Wed, 09 Aug 2017 18:42:00 GMT
Chia-Ping Tsai created HBASE-18546:

             Summary: Append/Increment a cell with custom timestamp
                 Key: HBASE-18546
                 URL: https://issues.apache.org/jira/browse/HBASE-18546
             Project: HBase
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai

We don't pass the custom timestamp for Increment, and the increment's timestamp always be
rewrite. Hence, user can't increment a cell with custom timestamp.
      if (values != null && values.size() > 0) {
        for (Cell cell: values) {
              cell.getQualifierArray(), cell.getQualifierOffset(), cell.getQualifierLength()));
              cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()));
          if (cell.getTagsLength() > 0) {
                cell.getTagsOffset(), cell.getTagsLength()));
In contrast to Increment, user can append the cell with custom timestamp. It would be better
that make their behavior consistent. 

This message was sent by Atlassian JIRA

View raw message