You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/07/14 05:07:00 UTC
[jira] [Created] (ATLAS-1950) Import Transform option using
supertype instead of a specific type
Sharmadha Sainath created ATLAS-1950:
----------------------------------------
Summary: 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
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)