Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个具有参数的数据流:TableName. 在流中用作源的数据集被参数化为TableName参数(SQL Server 数据集)。在 ADF 数据流中的源设置中选择此数据集时,它不允许我TableName像在标准 CopyActivity 中设置源时那样设置参数。
TableName
那么,如果不允许您设置参数,如何在数据流中使用参数化数据集呢?
更新:这些设置实际上是在 DataFlow 活动本身上。
据我了解,您的意思是可以TableName在“复制活动”中设置,而不能在“数据流”中设置。
在 Copy Active 中,我们可以这样设置参数:
但在 Data Flow 中,UI 看起来像:
我有一个解决方法是我们可以选择带有QueryinSource operations的表:
Query
Source operations
'select * from ' +$TableName
管道参数:
数据流参数:
它运作良好。
在数据流中,您将在设计/调试数据流时在调试设置中设置数据集参数。然后,您可以在运行时在管道中的数据流活动设置中设置参数。