Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Apache Atlas use of "Constraints" to change typeDef behaviour?
Labels:
- Labels:
-
Apache Atlas
New Contributor
Created 07-21-2022 09:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working on establishing a data catalogue in Atlas with bespoke typeDefs, and we have a requirement to change whether some entity attributes are optional or mandatory based on the values of the value of another attribute. Looking through the documentation I can see that "Constraints" have several types as mentioned in this post here (Solved: Re: Apache Atlas Types System V2 - Cloudera Community - 206759), but I can't understand which type of constraint would be the correct one for the job, or how it would need to be defined in the typeDef, but something along these lines?
"constraints":[{
"params":{"1":"...", "2":"..."},
"type":"ownedRef | inverseRef | attribute | etc..."
}]
Any help would be appreciated!
Rob
0 REPLIES 0
