Import .tar file using Azure Data Factory

白昼怎懂夜的黑 提交于 2019-12-11 07:26:56

问题


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!

Just FYI, my .tar file sits in the on-premise file system.

Request your kind help.


回答1:


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

You can adapt the following code (that runs RScript.exe): https://github.com/Azure/Azure-DataFactory/blob/master/Samples/RunRScriptUsingADFSample/InvokeRScript.cs



来源:https://stackoverflow.com/questions/41949630/import-tar-file-using-azure-data-factory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!