You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Na Li (Jira)" <ji...@apache.org> on 2020/03/31 19:31:00 UTC

[jira] [Updated] (ATLAS-3712) Added 'isAppendOnPartialUpdate' option in ML model to attend updates

     [ https://issues.apache.org/jira/browse/ATLAS-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Na Li updated ATLAS-3712:
-------------------------
    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:
{code:java}
{
    "name":        "metadata",
    "typeName":    "map<string,string>",
    "isIndexable": false,
    "isOptional":  true,
    "isUnique":    false,
    "options": {
      "isAppendOnPartialUpdate": "true"
    }
  } {code}
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.

  was:
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"         <-- add this option
    }
  }

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.


> Added 'isAppendOnPartialUpdate' option in ML model to attend updates
> --------------------------------------------------------------------
>
>                 Key: ATLAS-3712
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3712
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 3.0.0
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Major
>
> 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:
> {code:java}
> {
>     "name":        "metadata",
>     "typeName":    "map<string,string>",
>     "isIndexable": false,
>     "isOptional":  true,
>     "isUnique":    false,
>     "options": {
>       "isAppendOnPartialUpdate": "true"
>     }
>   } {code}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)