kettle 简介

Kettle也叫PDI (Pentaho Data Intergration)

Kettle 版本及下载

7.1及更早版本:
https://sourceforge.net/projects/pentaho/files/Data Integration/

pdi-ce-8.0.0.0-28.zip
https://sourceforge.net/projects/pentaho/files/Pentaho 8.0/client-tools/pdi-ce-8.0.0.0-28.zip/download

pdi-ce-8.1.0.0-365.zip
https://sourceforge.net/projects/pentaho/files/Pentaho 8.1/client-tools/pdi-ce-8.1.0.0-365.zip/download

主页面推荐的下载链接是最新的8.1版本

Kettle 8.1 “从结果中获取文件” 模块使用bug

转换1. 新建一个转换(js生成空数据.ktr)
Kettle 版本及使用问题
JavaScript代码:

// 生成空数据
// Script here
var a = null; 
var b = null; 
var c = null; 

转换2. 第二个转换(空数据文件获取.ktr)
Kettle 版本及使用问题

job3. 设计一个job
Kettle 版本及使用问题

在Kettle 7.1, 8.0 版本运行,转换1产生一个空文件,转换2生成空文件的文件信息,如:

type;filename;path;parentorigin;origin;comment;timestamp
一般;test.txt;file:///D://test.txt;js生成空数据;文本文件输出;This file was created with a text file output step;2018/05/28 15:03:07.583

在Kettle 8.1版本中运行,转换2生成的文件为空。
应该是Kettle8.1有bug导致,开源软件BUG多,建议用较稳定的Kettle7.1版。
版本控表示不开心~~~

相关文章:

  • 2021-09-18
  • 2021-10-27
  • 2021-07-17
  • 2022-01-16
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2023-03-05
  • 2021-04-06
  • 2021-05-31
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
相关资源
相似解决方案