Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图弄清楚如何创建一个作业/转换来解压缩和加载一个 .tar.gz 文件。有没有人有任何建议让这个工作?
您想读取压缩的文本文件吗?
只需在转换中的文本文件输入步骤中指定文件 - 并指定压缩 (GZip)。Kettle 可以直接从压缩文件中读取。
如果您确实需要解压缩文件,请使用作业步骤 - 不确定是否有本机解压缩,但如果不只是使用 shell 脚本步骤。
水壶中没有这样的组件来解压缩我找到的 tar.gz 文件。但如果我们将 csv 文件文本压缩为 gizip 格式,我们可以使用 gzip 输入组件。