[ 
https://issues.apache.org/jira/browse/ATLAS-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072085#comment-17072085
 ] 

ASF subversion and git services commented on ATLAS-3700:
--------------------------------------------------------

Commit 9e17881ae092141a6656c78c14cab6ea19728b03 in atlas's branch 
refs/heads/branch-2.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=9e17881 ]

ATLAS-3700: added option to append value to array, map type attributes

(cherry picked from commit f5cd728d561a3e58a6b69c8b635e04769103a67f)


> Partial update to Atlas overwrite map entry with different keys
> ---------------------------------------------------------------
>
>                 Key: ATLAS-3700
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3700
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 3.0.0
>            Reporter: Na Li
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 2.1.0, 3.0.0
>
>         Attachments: ATLAS-3700.003.patch, ATLAS-3700.004.patch, 
> ATLAS-3700.patch
>
>
> *Details:*
> 1) The model definition is in 
> "https://github.com/apache/atlas/blob/master/addons/models/4000-MachineLearning/4010-ml_model.json#L90";
> 2) I created a request of type EntityCreateRequestV2. It contains an entity 
> of type ml_model_build with an attribute "metadata", which is a map, and 
> contains key-value entries for "engineImageTag" and "engineImageName".
> 3) Then I created a request of type EntityPartialUpdateRequestV2. It contains 
> an entity of type ml_model_build with an attribute "metadata", which is a 
> map, and contains key-value entry for "updated_at".
> 4) In the properties of the entity ml_model_build, the * attribute 
> "*metadata" only contains key-value entry for "updated_at".
> *Desired behavior:*
> The attribute "metadata" should contains key-value entries for 
> "engineImageTag", "engineImageName" and "updated_at".
> Current behavior:
> the attribute "metadata" only contains key-value entry for "updated_at".



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

Reply via email to