Sharmadha S created ATLAS-4834:
----------------------------------
Summary: Import transforms doesn't work as expected when replacing
a string which already has ":"
Key: ATLAS-4834
URL: https://issues.apache.org/jira/browse/ATLAS-4834
Project: Atlas
Issue Type: Bug
Reporter: Sharmadha S
To replace path attribute of hdfs_path entity , for example hdfs://ns1 with
hdfs://ns2 in the target cluster , having ":" in the replace string doesn't
work. Escaping ":" also doesn't work. Import succeeds but location remains
unchanged.
{code:java}
{
"options":{
"updateTypeDefinition":true,
"transforms":"{ \"hdfs_path\": { \"path\": [
\"replace:hdfs://ns1:hdfs://ns2\" ] } }"
}
}
{code}
just replacing ns1 with ns2 works
hdfs://ns1 with hdfs://ns2 didn't work
--
This message was sent by Atlassian Jira
(v8.20.10#820010)