复制活动 - Azure数据工厂 - Cosmos到Cosmos数据复制 - 更新映射到HardCode一个值到Target并在mappping时修改一个值 [英] Copy Activity - Azure Data Factory - Cosmos to Cosmos Data Copy - Update Mapping to HardCode a value to Target and modify a value while mappping
问题描述
嗨专家,
Hi Experts ,
我想知道是否有人可以建议我如何修改数据工厂中的映射值V2 将数据从Source cosmos复制到目标cosmos SQL API时。我想将其中一个源字段映射分离到目标字段映射 而且
为它传递一个HardCoded值,而且我想在映射步骤中搜索并替换其中一个字段的值。
I am wondering if someone can suggest me how we can modify the mapping value in Data Factory V2 while copying a data from Source cosmos to target cosmos SQL API. I want to detach one of the source field mapping to target field mapping and rather pass a HardCoded value for it and also I want to search and replace a value for one of the field in mapping step .
谢谢,
Sriram
Sriram
推荐答案
在列映射中修改一个/多个列没有本机支持。除非您将数据复制到支持存储过程的sql store中,否则可以
从sql sink 侧调用存储过程脚本来执行这种自定义映射。
There is no native support for modifying one/several columns in column mapping. Except you're copying data into sql store supporting stored procedure, you could invoke a stored procedure script from sql sink side to do this kind of customized mapping.
您需要预处理Cosmos源中的数据。另请在
ADF用户语音上提交您的功能请求。
You need to preprocess the data in Cosmos source. Please also submit your feature request on ADF User Voice.
谢谢。
这篇关于复制活动 - Azure数据工厂 - Cosmos到Cosmos数据复制 - 更新映射到HardCode一个值到Target并在mappping时修改一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!