pass multiple dynamic parameters to U-SQL script v

2019-07-25 12:44发布

currently I can pass one parameter to u-sql script in data factory workflow. and with that parameter i can apply some pattern to generate files paths. is there any way to pass collection of datetimes parameters to u-sql and apply pattern to generate file paths?

2条回答
Fickle 薄情
2楼-- · 2019-07-25 13:12

Pass a Json parameter. Then handle it with u-sql.

查看更多
Lonely孤独者°
3楼-- · 2019-07-25 13:17

You can pass multiple parameters. U-SQL also allows parameters of type SqlArray<>. I am not sure though if ADF supports passing in such typed values. I think the PowerShell APIs do allow it.

I assume that passing the values as a file will not work, since you will not get compile time partition elimination with it.

查看更多
登录 后发表回答