Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Plugin to use a set variable or other way

  1. #1
    Join Date
    Jun 2012
    Posts
    13

    Default Plugin to use a set variable or other way

    Hello. I keep trying to use a set variable in the same transformation.

    I already read that this is not possible, but i need to handle the query how i want according the filters selected.

    This is possible to do in a kettle plugin?

    I've asked in another post, but take the opportunity to ask again .... is there any way to do execute a string query?...
    Something as simple as this...

    var string = "select field from table where";
    if (true) string += " any condition";
    else string += " other condition";

    execute string...

    In cde, in spoon, in xaction result set(legacy datasource)... whatever, but i need it.

  2. #2
    Join Date
    Jun 2012
    Posts
    13

    Default

    This post is repeat. Delete it.

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.