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:28:00 UTC
[jira] [Created] (ATLAS-3712) Added 'isAppendOnPartialUpdate'
option in ML model to attend updates
Na Li created ATLAS-3712:
----------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)