You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2017/07/14 00:38:01 UTC

[jira] [Commented] (ATLAS-1942) Export/Import - Transforms option doesn't work for datatypes other than string

    [ https://issues.apache.org/jira/browse/ATLAS-1942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086651#comment-16086651 ] 

Ashutosh Mestry commented on ATLAS-1942:
----------------------------------------

I have updated documentation to say that these transforms apply only to string types.

> Export/Import - Transforms option doesn't work for datatypes other than string
> ------------------------------------------------------------------------------
>
>                 Key: ATLAS-1942
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1942
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Ashutosh Mestry
>             Fix For: 0.9-incubating
>
>         Attachments: Import-API-Transform-Minor-update.patch
>
>
> Import with transforms option on any string attribute works and the string attribute is updated. Other data types like int,date,boolean etc., are not updated.
> transforms.json file :
> Following works:
> {code}
>   "options": {
>    "transforms": "{ \"hive_table\": { \"qualifiedName\": [ \"replace:@cl1:@cl2\" ] }}"
>   }
> }
> {code}
> Following doesn't work:
> {code}
>   "options": {
>    "transforms": "{ \"hive_table\": { \"retention\": [ \"replace:0:1\" ] }}"
>   }
> }
> {code}
> In both cases , import is successful and there are no exceptions found in application logs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)