Affects Version/s: 1.0.0
Fix Version/s: None
I tracked down specifically what causes this and have updated the title and this description to reflect that. I've left the old description as reference.
When using the AtlasClientV2 while performing complex add/modify operations, if you do not NULL out the relationship attributes on an update, any references that you may have added will not be set. Using the relationship REST API also fails to set the legacy attributes on relationships, and fails to set them at all in some cases.
This doesn't work:
Below is no longer valid
If a type inherits from another that has an old style reference attribute, and a new style RelationshipDef defined, creating the relationship instance fails to set the legacy attributes and in some cases fails to create the relationship itself.
Steps to reproduce:
- create a type, say my_table, that inherits from the hive_table
- Create an instance of the new type my_table
- Create an instance of a hive_column
- Create the containment relationship between the two models.
This behavior causes odd and inconsistent behavior and fully breaks lineage reports for process types that inherit from the built in Process.