在Pentaho Kettle重新命名?

时间:2015-09-14 13:29:53

标签: rename pentaho kettle

我有一个转换,从CSV文件读取50个字段,然后在其中执行各种操作,总共约100步。由于项目中的新命名约定,我需要重命名所有字段。

我可以轻松地重命名文件输入步骤中的字段,但这不会更改在下游使用它们的任何位置的名称。我必须编辑下游的每个步骤,如果我犯了任何错误,就有可能引入错误。

是否无法在使用它的所有步骤中自动更改字段名称?

1 个答案:

答案 0 :(得分:1)

The .ktr file containing the transformation data is a simple XML file. You can open it in any text editor and use search/replace to change the field names.