【问题标题】:Passing values to job executor pentaho将值传递给作业执行器 pentaho
【发布时间】:2021-03-04 09:02:47
【问题描述】:

我在转换中将数据写入表输出

在下一步中,我有一个带有 shell 脚本的作业执行器的转换 我如何将值从表输入传递到作业执行器以使其对表中的所有数据执行。例如 脚本:

ls "value1_from_table_input" 

写入日志

下一次运行

ls "value2_from_table_input"

写入日志

【问题讨论】:

    标签: pentaho pentaho-spoon pentaho-data-integration


    【解决方案1】:

    查看 Pentaho 安装的 samples/jobs 目录中的“shell for every row”目录。 使其工作的关键是在转换中使用“Copy rows to results”步骤,以及在作业中添加“Shell”作业条目时,你检查了“Copy previous results to args?”和“Execute for each input row

    【讨论】:

      猜你喜欢
      • 2019-08-18
      • 2011-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-06
      • 2012-08-09
      • 2014-05-07
      相关资源
      最近更新 更多