How to uncompress and import a .tar.gz file in kettle?
I am trying to figure out how to create a job/transformation to uncompress and load a .tar.gz file.开发者_运维问答 Does anyone have any advice for getting this to work?
you want to read a text file that is compressed?
Just specify the file in the text file input step in the transformation - and specify the compression (GZip). Kettle can read directly from compressed files.
If you do need the file uncompressed then use a job step - not sure if there is a native uncompress, but if not just use a shell script step.
There is not such component in kettle to uncompress the tar.gz file i found. But if we have the csv file text compressed in gizip format we can use gzip input component.
精彩评论