Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4595

Simple validator for inserting data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • None
    • None

    Description

      It would be useful to be able to write custom validation for specific parts of a Key or Value that could be applied to both mutations on live ingest and writing RFiles for bulk loads. Initially I thought this could be done with a table constraint, but didn't consider the importdirectory use case where RFiles are bulk imported. This validation does not need to track state though. Thinking this is really only for simple validation. Couple of contrived examples.

      1) Validate the CF starts with the string "abcd".
      2) Validate the CV only contains strings from a predefined list of strings.
      3) Validate the row only contains letters or numbers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mjwall Michael Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: