使用Azure数据工厂导入.tar文件 [英] Import .tar file using Azure Data Factory
问题描述
如何使用Azure Data Factory导入TAR文件并将其解压缩(解压缩)到Azure Data Lake存储中.我发现有可能使用.gZ和.zip文件,但不能使用.tar!
How do I import a TAR file using Azure Data Factory and unzip (decompress) them into Azure Data lake store. I could find it possible for .gZ and .zip files but not .tar!
仅供参考,我的.tar文件位于本地文件系统中.
Just FYI, my .tar file sits in the on-premise file system.
请求您的帮助.
推荐答案
您可以创建.NET自定义活动来安装tar.exe命令(您将已将其上传到Blob存储)并运行它: https://docs.microsoft.com/zh-我们/azure/数据工厂/数据工厂使用自定义活动
You can create a .NET custom activity to install the tar.exe command (that you will have uploaded to Blob store) and run it: https://docs.microsoft.com/en-us/azure/data-factory/data-factory-use-custom-activities
您可以修改以下代码(运行RScript.exe): https://github.com/Azure/Azure- DataFactory/blob/master/Samples/RunRScriptUsingADFSample/InvokeRScript.cs
You can adapt the following code (that runs RScript.exe): https://github.com/Azure/Azure-DataFactory/blob/master/Samples/RunRScriptUsingADFSample/InvokeRScript.cs
这篇关于使用Azure数据工厂导入.tar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!