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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Converting String to Boolean

Hi All,
How to convert string to boolean in tmap ?
Thanks&Regards
Aishu
Labels (2)
12 Replies
BA621858188
Creator
Creator

job design

Anonymous
Not applicable
Author

Hello,

We would convert data type String to data type boolean with "true or false" in talend.

Usually, we will use Java ternary operator in tMap to do it.

What's your purpose of Source - T/F (datatype string) Target - T/F (Boolean)?

Best regards

Sabrina

BA621858188
Creator
Creator

@Xiaodi Shi​ 

 

There is no purpose as such. It is just due to Client requirements. can you help me with code and job design.