[ https://issues.apache.org/jira/browse/ATLAS-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carol Drummond updated ATLAS-1950: ---------------------------------- Labels: release-notes (was: ) > Import Transform option using supertype instead of a specific type > ------------------------------------------------------------------ > > Key: ATLAS-1950 > URL: https://issues.apache.org/jira/browse/ATLAS-1950 > Project: Atlas > Issue Type: Improvement > Components: atlas-core > Affects Versions: 0.8.3 > Reporter: Sharmadha Sainath > Assignee: Ashutosh Mestry > Priority: Major > Labels: release-notes > Fix For: 1.2.0, 2.0.0 > > Attachments: ATLAS-1950.patch > > > Users can provide a tranforms option while import to replace @cl1 in > hive_table to @cl2 using the following JSON. > {code} > { > "options": { > "transforms": "{ \"hive_table\": { \"qualifiedName\": [ > \"replace:@cl1:@cl2\" ] } }" > } > } > {code} > It would be easy to specify a super type like 'Asset' to transform all types > in the export items which inherit from the super type to have "@cl1" replaced > with "@cl2" like > {code} > { > "options": { > "transforms": "{ \"Asset\": { \"qualifiedName\": [ > \"replace:@cl1:@cl2\" ] } }" > } > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)