Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Unpivot / Talend component question

Hi,
I'm wanting to convert:
userid, usersignature, prop1, prop2, prop3,prop*
blah,20090303170000,val1, val2, val3, val*
into 2 files:
userid, usersignature
blah, 20090303170000
userid, propname, propvalue
blah, prop1, val1
blah, prop2, val2
blah, prop3, val3
...
I've searched these forms and found that there's a component that has been created to do this:
18764
I've only just worked out (as I'm writing this!) that java projects need java components, and perl projects need perl components - which is why that component doesn't appear within my Java project palette. I don't really understand how these components work, so I don't know how easy it would be to make the above component available in Java. Could someone please comment on this?
Alternatively, does anyone have any advice on how to get the result that I'm looking for above? The input file will be text, and I'd like the output to be a bulk insert into an Oracle DB.
Any help would be appreciated
Labels (3)
17 Replies
Anonymous
Not applicable
Author

Thanks for the reply Daztop. Yes, I got this component working. The part that threw me off was that I had to ad the Key column to the tUnpivotRow schema in order to make it work (even after defining it as an input for "Row keys"). See screen shot to see what my final solution was. Once I got past this it was fine.
Thanks,
Anonymous
Not applicable
Author

The part that threw me off was that I had to ad the Key column to the tUnpivotRow schema in order to make it work (even after defining it as an input for "Row keys").

At the time of writing the component, there was no way to programatically change the output schema (I don't know if this has now changed). It's therefore unfortunately reliant on the user to set it up in both places.
Glad you got it working.
Anonymous
Not applicable
Author

Daztop...hats off to you . Thanks a lot for this component. This helped to resolve my problem .
_AnonymousUser
Specialist III
Specialist III

The component does not work with Talend 4.0.2. Can it be fixed?
Anonymous
Not applicable
Author

Hi, I am able to download this tunpivot component,but it's not showing in pallete,so not able to use the component. Please Help me.
Anonymous
Not applicable
Author

Hi snehasisrath
I have tried to install this component to Talend Studio 6.0.1 and it works, please refers to this article about how to install a custom component to studio.

Anonymous
Not applicable
Author

Hey, I'd like to see the java's code. I can't find it with the 148, can you provide me the code or the link, please?

Thank you!

Anonymous
Not applicable
Author

hi all,

can any one update the unpivot component to be compatible with talend open studio 7.1