存储过滤器的输出 activity

Storing output of filter activity

我正在创建一个管道,它根据几列(使用过滤器 activity)过滤来自源 SQL table 的输入,然后将其复制到 Azure SQL table。但是副本 activity 需要 SQL 查询输入而不是数组。显然,我无法将过滤器 activity 的输出保存到 table 或文件中。

我遇到的错误是:

Failed to convert the value in 'sqlReaderQuery' property to 'System.String' type.Please make sure the payload structure and value are correct.

Source=Microsoft.DataTransfer.DataContracts,''Type=System.InvalidCastException,Message=Object must implement IConvertible.

过滤器 activity 不会将输出作为 table(副本 activity 需要它)。由于在您的情况下源是 SQL ,因此您可以在配置源时使用 SQL 查询来过滤查询本身中的数据。