[ 
https://issues.apache.org/jira/browse/ATLAS-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Mestry updated ATLAS-1950:
-----------------------------------
    Attachment: ATLAS-1950.patch

> 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.9-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Ashutosh Mestry
>         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
(v6.4.14#64029)

Reply via email to