[英]Value input in Pentaho Spoon
I am doing transformation using Spoon. 我正在使用Spoon进行转型。 I have an input table with this query:
我有一个带有此查询的输入表:
select id, idOrder, date from TBL1 where date='2013-03-20';
I want to give an idOrder
value manually from input. 我想从输入手动提供
idOrder
值。 eg idOrder = 405
例如
idOrder = 405
I see 'Get system info' but it has only dates. 我看到“获取系统信息”,但它只有日期。
How can I give variable input to the 'Table Input'? 如何为“表输入”提供变量输入?
Maybe I can say: 也许我可以说:
select ?, idOrder, date from TBL1 where date='2013-03-20';
But how can I provide a value for the ?
但是我怎样才能提供价值
?
placeholder? 占位?
Take a look at http://wiki.pentaho.com/display/EAI/Table+Input . 请查看http://wiki.pentaho.com/display/EAI/Table+Input 。 You need to look at the information concerning replacing variables in your query/script.
您需要查看有关在查询/脚本中替换变量的信息。 The syntax is pretty easy to use, like
语法很容易使用,比如
select id, ${id_order_variable} as idOrder, date from TBL1 where date='2013-03-20'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.