Talend 中的行到列转换 [英] Row to Column conversion in Talend

查看:39
本文介绍了Talend 中的行到列转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习 Talend Open Studio.我想实现一行转换为3行的场景.我的来源就像

I am learning Talend Open studio. I want to implement the scenario where a row converts into 3 rows. My Source is like

Col1    Col2    Col3
a        b       c

我想得到如下输出

Col
a
b
c

我使用了 tcolumntopivotdelimited 但失败了.

I have used tcolumntopivotdelimited but failed.

推荐答案

解决方案如下:

在您的 tmap 中,您需要使用;"进行连接例如,使用良好的分隔符对结果列进行标准化

In your tmap you need to concat with a ";" for example and normalize the resulted column with the good delimiter

这篇关于Talend 中的行到列转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆