Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-141

Fields that can be incremented with HBase's atomic increment or Accumulo's aggregators need to have a special anntoation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.9.0
    • Component/s: HBase Module
    • Labels:
      None

      Description

      Incrementable fields should have a special annotation. This will help us to do validation at schema creation time that a field really can be incremented.

      Fields that can't be incremented include fields that are part of a schema that has an occVersion field. This is because get/update/put operations won't be protected from an atomic increment that doesn't increment the special version field protecting the get/update/put operation.

      Also, only integer or long fields should be incrementable.

      When accumulo support is included, validation that a column is an aggregator would be an additional validation that should be done at schema creation time.

        Attachments

          Activity

            People

            • Assignee:
              adam Adam Warrington
              Reporter:
              adam Adam Warrington
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: