Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Combine Fields together

  1. #1

    Default Combine Fields together

    Hi,
    I need to take a value from a TextInput, add a constant prefix to one of the fields and pass it on to the next step.

    I've tried the Javascript step, but either my javascript skills are really poor (they are) or I've got the wrong approach.

    I can't seem to see any other step that would allow me to modify a field and "put it back" into the stream after changing it. "Select Values" is too limited, it only allows datatype and length changes.
    Thanks,
    Peter

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Calculator step, but Javascript may be easier... have a look at some of the javascript samples included with Kettle.

    Regards,
    Sven

  3. #3

    Default

    Sven,
    As always, a brilliant and simple response. The calculator step does exactly what I wanted.

    Will investigate the Javascipt stuff (but I'll admit to bias, don't like Javascrpt).
    Thanks,
    Peter

    Quote Originally Posted by sboden View Post
    Calculator step, but Javascript may be easier... have a look at some of the javascript samples included with Kettle.

    Regards,
    Sven

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.