问题
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