使用动态值作为Azure数据工厂中表存储的表名 [英] Use dynamic value as table name of a table storage in Azure Data Factory

查看:43
本文介绍了使用动态值作为Azure数据工厂中表存储的表名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ADF管道,该管道使用复制数据活动将数据从Blob存储复制到表存储.该管道每天在触发器上运行一次.我在表存储数据集中提供了一个表名,设置为"Table1".

I have an ADF pipeline that uses copy data activity for copying data from blob storage to table storage. This pipeline runs on a trigger once every day. I have provided a table name in table storage data set as 'Table1'.

不是提供硬编码的表名值(Table1),而是可以在表存储中提供动态值作为表名,以便将管道运行的 RUN ID 用作表在表存储中命名,并将数据从Blob复制到表存储中的表?

Instead of providing a hard coded table name value (Table1), is it possible to provide a dynamic value as table name in the table storage such that RUN ID of pipeline run is used as the table name in the table storage and copy data from blob to that table in table storage?

推荐答案

您可以将动态值设置为表名.

You could set a dynamic value as table name.

例如,您可以将参数添加到表存储数据集中:

For example, you can add parameter to the table storage dataset:

然后,您可以设置管道参数以指定表名:

Then you can set the pipeline parameter to specify the table name:

但是我们不能在表存储中提供管道运行的RUN ID作为表名并将数据从blob复制到表存储中的表.

But we can not provide the RUN ID of pipeline run as the table name in the table storage and copy data from blob to that table in table storage.

希望这会有所帮助.

这篇关于使用动态值作为Azure数据工厂中表存储的表名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆