有没有办法将Pentaho Kettle中的列转换为目标字段?

时间:2017-12-06 08:26:42

标签: etl kettle

如下:

enter image description here

如何将名称字段的值转换为Pentaho Kettle中的目标字段?

Json文件描述数据结构,表示表中有多少个标题:

 [
                    {
                        "description": "employee_number",
                        "required": true,
                        "type": "char",
                        "name": "employee_number",
                        "size": -1
                    },
                    {
                        "description": "name",
                        "required": true,
                        "type": "char",
                        "name": "name",
                        "size": -1
                    },
                    {
                        "description": "gender",
                        "required": false,
                        "size": -1,
                        "type": "char",
                        "name": "gender"
                    }
      ]

描述真实数据的Json文件:

    [
{
    employee_number:123,
    name:"jack",
    gender:"female"
},
{
    employee_number:123,
    name:"jack",
    gender:"female"
}]

感谢您的耐心等待!

0 个答案:

没有答案