Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Throw exception during transformation

  1. #1
    Join Date
    Mar 2007
    Posts
    7

    Default Throw exception during transformation

    I have a java program that reads in input file and load .ktr file to perform transform and it will catch exception if anything wrong during the transformation.

    Is there a way to tell one of the steps to throw exception if certain condition meet and stop the transformation?

    Thanks..

    David.

  2. #2

    Default

    Hi david,
    There is a new step that abort transformation if it receive x lines......try a look .Maybe it will help u

    Samatar

  3. #3
    Join Date
    Mar 2007
    Posts
    7

    Default Please tell which step?

    Thanks, I am using kettle 2.4.0. I've looking it for a while, but can't find which step that will do that. Can you tell me the name?

    Thanks again.


    David.

  4. #4

    Default

    Well i am sure it's in the 2.5 but not in the 2.4.0 (if my memory is good)
    The name of the step is "Abort Step" in Experimental.

    Samatar

  5. #5
    Join Date
    Mar 2007
    Posts
    7

    Default

    Cool. Thanks. I will check it out.

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

    Default

    "Abort Step" is no longer in Experimental.

  7. #7

    Default

    Thanks for the correction :-)

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.