[
https://issues.apache.org/jira/browse/ATLAS-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613027#comment-16613027
]
ASF subversion and git services commented on ATLAS-2871:
--------------------------------------------------------
Commit ebf0aa22d8674a9838bad8ed3ff511086d035634 in atlas's branch
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=ebf0aa2 ]
ATLAS-2871: Import Transforms: Apply entity-specific transforms before
attribute-specific.
Signed-off-by: Ashutosh Mestry <[email protected]>
> Import Process: Applying Entity-specific Transforms be Prioritized Over
> Attribute-Specific
> ------------------------------------------------------------------------------------------
>
> Key: ATLAS-2871
> URL: https://issues.apache.org/jira/browse/ATLAS-2871
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.8.2
> Reporter: Ashutosh Mestry
> Assignee: Ashutosh Mestry
> Priority: Critical
> Fix For: 0.8.3
>
> Attachments:
> ATLAS-2871-Entity-specific-transforms-are-processed-.patch
>
>
> *Background*
> An import transform where entity-specific transform and attribute-specific
> transform that modifies entity attributes, causes entity-specific transform
> not to apply.
> *Solution*
> Apply entity-specific transform before attribute-specific transform.
> *Example*
> {{_{_}}{{_"options": {_}}{{_"transforms": "\{ \"hdfs_path\": { \"*\":[
> \"addClassification:REPLICATED_2:topLevel\" ], \"path\": [
> \"replace:localhost:mycluster1\" ], \"qualifiedName\": [
> \"replace:localhost:mycluster1\" ], \"clusterName\": [
> \"replace:localhost:mycluster1\"], \"name\": [
> \"replace:localhost:mycluster1\"] } }",_}}{{_"replicateFrom":
> "cl1"_}}{{_}_}}{{_}_}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)