1
votes

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

1 Answers

2
votes

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