Customer Portal

Reading gzip+tar files

Comments 5

  • Avatar
    admin
    0
    Comment actions Permalink
    Clover as of current version (2.4) does not work with .tar files. It supports .zip archives though. Use them, if you can.

    With gzip - it assumes that you have just one file compressed and therefore the #filename has no meaning here.
  • Avatar
    dpavlis
    0
    Comment actions Permalink
    New CloveETL version 2.7 contains support (read-only) for TAR archives (supports also gzipped Tar).
  • Avatar
    ciscochi
    0
    Comment actions Permalink
    Can you provide an example of how gzip files are read with the universal data reader?

    For example, I have the following files in /data:
    a01.dat.gz
    a02.dat.gz
    a03.dat.gz

    I tried to set the file url as such:
    gzip:/data/a*.dat.gz

    That isn't recognized, however. I'm not sure what else I need to pass in as the user guide has some additional parts to the file url that I don't understand.

    Thanks.
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    brackets are missing in your path: gzip:(/data/a*.dat.gz). For full info see File url.
  • Avatar
    ciscochi
    0
    Comment actions Permalink
    Thanks. That worked like a charm.

    My local 2.8 user guide doesn't seem to be in sync with the latest changes. I'll bookmark the online version.

Please sign in to leave a comment.