复制 activity - 忽略接收器存储过程参数值
Copy activity - sink stored procedure parameter value ignored
添加 copy activity
并指定要使用的存储过程后 - 我想添加一个存储过程参数:
运行 activity,我得到一个错误,说没有为存储过程参数指定值 projectId
.
查看为 copy activity
生成的 JSON 代码,我确实可以看到没有为参数设置值:
"sink": {
"type": "SqlSink",
"writeBatchSize": 10000,
"sqlWriterStoredProcedureName": "[dbo].[CreateAllocation]",
"sqlWriterTableType": "AllocationType",
"storedProcedureParameters": {
"projectId": {
"type": "String"
}
}
},
"enableStaging": false,
"cloudDataMovementUnits": 0
通过单击 copy activity
上的 Advanced
选项卡设置参数值,并粘贴以下 JSON 使其生效:
"sink": {
"type": "SqlSink",
"writeBatchSize": 10000,
"sqlWriterStoredProcedureName": "[dbo].[CreateAllocation]",
"sqlWriterTableType": "AllocationType",
"storedProcedureParameters": {
"projectId": {
"type": "String",
"value": "200"
}
}
},
"enableStaging": false,
"cloudDataMovementUnits": 0
我还尝试将数据工厂连接到 git,并提交设置存储过程参数的值 - 但没有成功。副本 activity 加载后,它似乎删除了为参数设置的值。
如果不使用 Advanced
选项卡覆盖 activity 模板,为什么我无法设置存储过程参数的值?
此问题已得到修复。有了最后的UI,你就不会遇到这个问题了。
添加 copy activity
并指定要使用的存储过程后 - 我想添加一个存储过程参数:
运行 activity,我得到一个错误,说没有为存储过程参数指定值 projectId
.
查看为 copy activity
生成的 JSON 代码,我确实可以看到没有为参数设置值:
"sink": {
"type": "SqlSink",
"writeBatchSize": 10000,
"sqlWriterStoredProcedureName": "[dbo].[CreateAllocation]",
"sqlWriterTableType": "AllocationType",
"storedProcedureParameters": {
"projectId": {
"type": "String"
}
}
},
"enableStaging": false,
"cloudDataMovementUnits": 0
通过单击 copy activity
上的 Advanced
选项卡设置参数值,并粘贴以下 JSON 使其生效:
"sink": {
"type": "SqlSink",
"writeBatchSize": 10000,
"sqlWriterStoredProcedureName": "[dbo].[CreateAllocation]",
"sqlWriterTableType": "AllocationType",
"storedProcedureParameters": {
"projectId": {
"type": "String",
"value": "200"
}
}
},
"enableStaging": false,
"cloudDataMovementUnits": 0
我还尝试将数据工厂连接到 git,并提交设置存储过程参数的值 - 但没有成功。副本 activity 加载后,它似乎删除了为参数设置的值。
如果不使用 Advanced
选项卡覆盖 activity 模板,为什么我无法设置存储过程参数的值?
此问题已得到修复。有了最后的UI,你就不会遇到这个问题了。