Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3712

Add 'isAppendOnPartialUpdate' option in ML model to append updates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 2.1.0, 3.0.0
    • atlas-core
    • None

    Description

      Atlas adds a new feature to allow client to append attributes during partial-update operation in ATLAS-3700.

      We need to add 'isAppendOnPartialUpdate' option in ML model at https://github.com/apache/atlas/blob/master/addons/models/4000-MachineLearning/4010-ml_model.json to append updates using this new feature.

      Example:

      {
          "name":        "metadata",
          "typeName":    "map<string,string>",
          "isIndexable": false,
          "isOptional":  true,
          "isUnique":    false,
          "options": {
            "isAppendOnPartialUpdate": "true"
          }
        } 

      The value specified for this attribute in partial-update API calls will be appended to existing value - if present.

      Full-update API calls will overwrite the value of the attribute, as it does currently; there is no change in full-update behavior.

      Attachments

        Issue Links

          Activity

            People

              linaataustin Na Li
              linaataustin Na Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: