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

cannot convert from list to string

Hi,

 

Iam using Talend openstudio with bigdata .Here my source is Cassandra target is sql server.When iam trying to map List type column in source to varchar type in target iam getting below erro

cannot convert from list to string.

 

Can you please help me how to convert List type to string.

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@ruthvi ,some of the records may have the null values in that column ,in DB side it would be not null constrain is there.

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@ruthvi ,you can convert using tjavarow or tmap or tconverttype,

 

for tjavrow and tmap.

 

String.valueOf(row1.col)

or

row1.col.tostring()

Anonymous
Not applicable
Author

Thankyou so much..
String.valueof(row1.col) is working for me now.Can you tell me why iam getting nullpointer exception while loading data into target i.e sqlserver.For tlogrow the data is coming fine
manodwhb
Champion II
Champion II

@ruthvi ,some of the records may have the null values in that column ,in DB side it would be not null constrain is there.

Anonymous
Not applicable
Author

Yes, the problem is with database schema.
Thankyou for quick response.