[ https://issues.apache.org/jira/browse/ATLAS-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sarath Subramanian updated ATLAS-1950: -------------------------------------- Affects Version/s: (was: 1.0.0) 0.8.3 > 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 > 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 (v7.6.3#76005)