[
https://issues.apache.org/jira/browse/ATLAS-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539307#comment-16539307
]
ASF subversion and git services commented on ATLAS-1950:
--------------------------------------------------------
Commit d16324cb8c9cf0170f14b2187929ed0edd311bf0 in atlas's branch
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=d16324c ]
ATLAS-1950: Import API: Improvement: Specify Supertypes in Import Transforms
Signed-off-by: Sarath Subramanian <[email protected]>
> 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: 1.0.0
> 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)