Azure 数据工厂将 \ 替换为“\\”。如何删除这个?

Azure Data Factory replace \ with '\\'. How to remove this?

我有一个 Azure SQL Table 存储文件存储位置副本 activity。像这样:

FileName    Location
text.csv    \Server\Test\TargetFolder

当我尝试在 Azure 数据工厂中构建查找 + 复制时。查找结果总是return这个 \\Server\Test\TargetFolder << ADF add an extra "\" for each "\".

有什么方法可以消除这种行为吗? 提前谢谢你。

请使用替换功能,例如 @replace(activity('Lookup1').output.firstRow.Location,'\','\')。我添加了一个 Setvariable activity 并添加了表达式

我做了一些测试,效果很好。