Azure数据工厂 - Python自定义活动 [英] Azure Data Factory - Python Custom Activity

查看:74
本文介绍了Azure数据工厂 - Python自定义活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,


我试图通过包含Python自定义活动来创建数据工厂(V2) (类似于.Net)从源文件中提取数据并对它们进行一些预处理。数据预处理后,需要将文件上传到blob。我有一个python代码
准备这样做但想要探索我是否可以使用Data Factory Custom Activity通过向其中注入Python代码来实现这一点。如果是,请告诉我如何操作,链接或任何参考文档都会有所帮助。

I am trying to create a data factory(V2) by including a Python Custom Activity (similar to .Net) to extract the data from source files and do some pre-processing on them. After the data is pre-processed, need to upload the file to a blob. I have a python code ready to do this but wanted to explore if i can use Data Factory Custom Activity to do this by injecting Python code into it. If yes, please tell me how to do it, links or any reference docs would help.


感谢您对此的想法/想法。

Appreciate your thoughts/ideas on this.

推荐答案

在V2中,您可以在自定义活动中提供任何有效的命令。  https://docs.microsoft.com/en-us/azure/data-factory/transform-数据使用,DOTNET定制活动#定制活动
注意你需要自己在VM中准备python运行时。
In V2, you could provide any valid command in Custom Activity. https://docs.microsoft.com/en-us/azure/data-factory/transform-data-using-dotnet-custom-activity#custom-activity. Note you need to prepare python runtime in the VM by yourselves.


这篇关于Azure数据工厂 - Python自定义活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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