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

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

Sharmadha Sainath created ATLAS-1942:
----------------------------------------

             Summary: 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
             Fix For: 0.9-incubating


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)