Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Is there a way to partition text files?

  1. #1
    Join Date
    Aug 2008
    Posts
    563

    Default Is there a way to partition text files?

    Hi,
    My transformation imports log files and the goal is to export them to a text file based on the date-hour field value (so for each hour worth of data one separate text file should be created). How do I do this in Kettle without heavy scripting?
    Thanks.
    Best regards,
    Diethard
    ===============
    Visit my Pentaho blog which offers some tutorials mainly on Kettle, Report Designer and Mondrian
    ===============

  2. #2
    Join Date
    Dec 2009
    Posts
    609

    Default

    Hi,

    what about creating the target-filename dynamically (should not be a huge scripting-effort) and then use "Accept filename from field" in the Text-Output Step?

    HTH,

    Tom

  3. #3
    Join Date
    Aug 2008
    Posts
    563

    Default

    Thanks a lot Tom for pointing this out! I'll have a look at it!
    Best regards,
    Diethard
    ===============
    Visit my Pentaho blog which offers some tutorials mainly on Kettle, Report Designer and Mondrian
    ===============

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.