[
https://issues.apache.org/jira/browse/ATLAS-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617514#comment-16617514
]
ASF subversion and git services commented on ATLAS-2873:
--------------------------------------------------------
Commit fb635ece9f6c9611496c390bc7d20ae539c2b561 in atlas's branch
refs/heads/branch-0.8 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=fb635ec ]
ATLAS-2873: Atlas Import Transform Handler Implementation
> Atlas Import Transform Handler Implementation
> ---------------------------------------------
>
> Key: ATLAS-2873
> URL: https://issues.apache.org/jira/browse/ATLAS-2873
> Project: Atlas
> Issue Type: Task
> Components: atlas-core
> Affects Versions: 0.8.3
> Reporter: Sarath Subramanian
> Assignee: Sarath Subramanian
> Priority: Major
> Fix For: 0.8.3
>
>
> Implement atlas entity transformation during import.
>
> e.g.
> *Condition Operators :* EQUALS, STARTS_WITH
> *Action Operators* : SET, TO_LOWER, TO_UPPER, REPLACE_PREFIX
>
> *Condition :* "hdfs_path.clusterName", "EQUALS: cl1"
> *Action :* "hdfs_path.clusterName", "SET: cl2"
>
> *Condition :* "hdfs_path.clusterName", "EQUALS: cl1"
> *Action :* " hdfs_path.clusterName", "TO_UPPER:"
>
> *Condition :* " hdfs_path.clusterName", "EQUALS: CL1"
> *Action :* " hdfs_path.clusterName", "TO_LOWER:"
>
> *Condition :* " hdfs_path.name", "STARTS_WITH: /aa/bb/"
> *Action :* " hdfs_path.name", "REPLACE_PREFIX: = :/aa/bb/=/xx/yy/"
>
> *Condition :* "hive_db.clusterName", "EQUALS: cl1"
> *Action :* "hive_db.clusterName", "SET: cl1_backup;
>
> *Condition :* "hive_db.name", "EQUALS: hr"
> *Action :* "hive_db.name", "SET: hr_backup"
>
> *Condition :* "hive_table.name", "EQUALS: employees"
> *Action :* "hive_table.name", "SET: employees_backup"
>
> *Condition :* "hive_column.name", "EQUALS: age"
> *Action :* "hive_column.name", "SET: age_backup"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)