Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Need Tip !!. How can text file input step throw error when header is not present ?

  1. #1
    Join Date
    Mar 2013
    Posts
    66

    Default Need Tip !!. How can text file input step throw error when header is not present ?

    Hi All,

    Thanks for your support.

    Few times, I am receiving input file from customer without header.

    How can I make Text file input step throw an error message if the header is not present and abort the whole job ?

    I am still playing with TFI for the output.

    Please advise.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    You can create a transformation that load the file as it is, filter first row and check if it has same data as an existing header.
    If not, do something, if yes, proceed to next transformation.
    -- Mick --

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.