Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: reports on "select values" step

  1. #1
    Join Date
    Mar 2006
    Posts
    17

    Default reports on "select values" step

    Hi,


    I would like to know how can i get a report on this step.
    I need to show the input fields and the renaming in a report.
    I don't want to open the spoon and print the screen each time, I want to create it from the ktr file.



    Thanks

  2. #2
    Join Date
    Nov 1999
    Posts
    459

    Default RE: reports on "select values" step

    Hi,


    look at the tables R_STEPxxx in your repository. You could create a "reflection" for your steps.



    HTH,
    Jens

  3. #3
    Join Date
    Sep 2005
    Posts
    1,403

    Default RE: reports on "select values" step

    What if I'm not working with a repository?

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

    Default RE: reports on "select values" step

    In that case, write a small java program that loads the transformation and print out the changes:

    StepMeta stepMeta = transMeta.findStep("Some step name");
    SelectValuesMeta meta = (SelectValuesMeta)stepMeta.getStepMetaInterface();

    With this meta object you can see which fields are selected, renamed, removed, etc.

    In the future we will build more meta-data management and lookup stuff into Kettle. For example transformation and job "reports" and search functionality.

    Hope this helps,

    Matt

  5. #5
    Join Date
    Nov 1999
    Posts
    459

    Default RE: reports on "select values" step

    Or: Read in the KTR-file with the XML step.

    Cheers,
    Jens (from an ancient time zone - some months ago ;-)

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.