You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nallapati, Sreenivasulu" <Sr...@intuit.com> on 2019/07/05 07:54:01 UTC

Changing relationship cardinality on the existing data

Hello,


We want to change the cardinality of a relationship from 'SINGLE' to 'SET'



When we tried to update the relationship cardinality it’s not allowing with the below error.

{

  "errorCode": "ATLAS-400-00-038",

  "errorMessage": "invalid update for relationshipDef dataset_to_schema: new end2 AtlasRelationshipEndDef{type='schema', name==>'residesIn', description==>'null', isContainer==>'false', cardinality==>'SET', isLegacyAttribute==>'false'}, existing end2 AtlasRelationshipEndDef{type='schema', name==>'residesIn', description==>'null', isContainer==>'false', cardinality==>'SINGLE', isLegacyAttribute==>'false'}"

}





Is there a cleaner way of updating the relationship cardinality without cleaning up data/recreating the models?


Please suggest if there is way to make it happen.



---
Regards,
Sreeni