Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

add constant from a parameter

$
0
0
Hi,
I have an input table that returns a set of columns, and before I do anything else with that result, I'd like to add a column with a value from a parameter (environment name). So, for instance, if my input table step returns:
col1 col2 col3
blu blk wht

I'd like to make it into
col1 col2 col3 env
blu blk wht test

I tried doing it by adding a "add constants" step, but it doesn't seem to perform a parameter substitution. I see that I can add a column with a javascript, but I'd rather not do it. what's the best way to handle this situation?

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>