如何在水壶中解压缩并导入.tar.gz文件? [英] How to uncompress and import a .tar.gz file in kettle?
本文介绍了如何在水壶中解压缩并导入.tar.gz文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图弄清楚如何创建作业/转换以解压缩并加载.tar.gz文件.有没有人建议让它正常工作?
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?
只需在转换的文本文件输入步骤中指定文件-并指定压缩(GZip).水壶可以直接从压缩文件中读取.
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.
如果确实需要解压缩文件,则使用作业步骤-不确定是否存在本机解压缩,如果不是,则仅使用shell脚本步骤.
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.
这篇关于如何在水壶中解压缩并导入.tar.gz文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文