[
https://issues.apache.org/jira/browse/ATLAS-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Mestry updated ATLAS-2871:
-----------------------------------
Description:
*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"_}}{{_}_}}{{_}_}}
was:
*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*
{quote}{{_{_}}{{_"options": {_}}{{_"transforms": "\{ \"hdfs_path\": { \"*\":[
\"addClassification:REPLICATED_2:topLevel\" ], \"path\": [
\"replace:localhost:mycluster1\" ], \"qualifiedName\": [
\"replace:localhost:mycluster1\" ], \"clusterName\": [
\"replace:localhost:mycluster1\"], \"name\": [
\"replace:localhost:mycluster1\"] } }"_}}{{_}_}}{{_}_}}{quote}
> 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
>
>
> *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)