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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load CSV files into database unstructure

I have csv file in that 3 columns are present but in one column the data will be unstructured like

175.4A.EC-413.ZN-F.175.4h.TC-420.ZN-F.Present Value, I want to seperate that (.) into columns, how to load this type of csv file into mysql database through talend??? please help us. I have attached csv file for reference.

Labels (1)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@lalitkothawade,if you are facing issue,please check the belwo one.

0683p000009LxER.png0683p000009Lw8y.png0683p000009LxDA.png

 

View solution in original post

13 Replies
manodwhb
Champion II
Champion II

@lalitkothawade,you need out as "175.4A.EC-413.ZN-F.175.4h.TC-420.ZN-F" ?

 

if yes you can use below expression in tmap.

 

row1.col.substring(0,row1.col.lastIndexOf('.'))

manodwhb
Champion II
Champion II

@lalitkothawade,still do you have issue?

Anonymous
Not applicable
Author

my input is like 175.4A.EC-413.ZN-F.175.4h.TC-420.ZN-F  and i want ouput as separate columns like 

175  4A  EC-413 means separated by (.).

manodwhb
Champion II
Champion II

@lalitkothawade,you can exteact using tExtractDelimitedFields.

 

check the below link to know the detals of tExtractDelimitedFields

https://help.talend.com/reader/9q55KsfASqX0qY4GVhEDNQ/0is4W2Xc7rQp8mFGjxIDRw

manodwhb
Champion II
Champion II

@lalitkothawade,if you are facing issue,please check the belwo one.

0683p000009LxER.png0683p000009Lw8y.png0683p000009LxDA.png

 

amitdadri
Contributor
Contributor

0683p000009LxEb.png0683p000009LxEg.png

Anonymous
Not applicable
Author

why we used tfixedflowinput.. what is content in it..???

manodwhb
Champion II
Champion II

@lalitkothawade,to generate the source data by using the tFixedInputFlow.

Anonymous
Not applicable
Author

What is columnfromstring...?? is that component or only name and if only name then which component is that??