You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi
Please follow these steps:
1.Go to Window-->Preferences-->Talend-->Specific Settings and check the box 'Allow specific characters(UTF8...) for columns of schema.'
2.Click the 'OK' button to save the change and close the window.
Regards,
Pedro
Offline

Thanks Pedro!! This doesn't quite solve it though. After switching to use the UTF8 as you described now I get a compilation error for those column names. It looks like the hyphon is making the system think that it is a separate variable.
What I mean by that is... If I have a column name such as SKU-2012-MKS when I compile it I get an error saying "SKU cannot be resolved to a variable" as well as "2012 cannot be resolved to a variable" and "MKS cannot be resolved to a variable"
Any thoughts on this? I tried escaping the column name as "\"SKU-2012-MKS\"" and no dice either.
Thanks again for the help.
Offline

Hi
I click on the code tag and notice that Talend job will declare a String variable like this:
Public String SKU-2012-MKS
It is against the basic rule of Java and cause errors.
Sorry. You cannot use "-" in the column name.
Regards,
Pedro
Offline
Pages: 1