Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to use the content of a .tar.gz file in Kettle ?

  1. #1

    Default How to use the content of a .tar.gz file in Kettle ?

    Hello all,

    I have a sql file that is tared and zipped. So I have a bk.sql.tar.gz.

    I would like, through Kettle, to execute what's inside the bk.sql script.

    In order to "gunzip" the file I used the file text input step and set the Compression attribute to GZip, then I created a second file text input step trying to untar the file, but no success.

    Does someone see how can I achieve that flow ?

    --
    Spredzy

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Untar and unzip with a "text file input" step? That's a bit weird don't you think?

    Surely the SQL isn't a structured text file.
    What do you want to do with the SQL file?
    Try loading the content into a field:

    tar:gz:file:///foo/bar/kb.sql.tar.gz!kb.sql.tar!kb.sql



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.