Since Talend 6.3 , an option in tMap allows to automatically convert types.
When activated, output pattern is used as the expected input pattern to automatically convert data.
First, activate the option :
Then modify output pattern, used as the input pattern :