Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Getting the latest Flat File as source.

  1. #1
    Join Date
    Apr 2008
    Posts
    21

    Default Getting the latest Flat File as source.

    Hi,
    I'm performing etl's on Flat files.
    Flat file names come with timestamp like
    Name20080917
    Name20080918.

    By using the Get file names I'm getting the list of all files starting with Name..
    Now I want to take the latest file from the list as source file.

    How to do the?
    Any help will be appreciated.

  2. #2
    DEinspanjer Guest

    Default

    The name format you gave as an example will sort lexically, so you could just sort them and use a blocking step to get the last one.

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.