Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
comes up in red
image attached
does anyone think the expression is incorrect? -- no, so why the error?
upon exiting expression builder and run the job it works perfectly... known bug?
I was able to reproduce this when I put "Y" as the value for name2. I finally found an example of how to use the expression builder Test feature in the documentation:
https://help.talend.com/reader/nXPtKhielAtSqFD6_f7~OQ/UiJEcAn2BxH5csEtuIR5pA
It shows that test values should not be wrapped in quotes, so I removed my quotes. After that, the test started working and displays "Yes" in the output area.
Hi,
We usually use the Test! button to test a function.
The Test! button can't understand "Y" for your column value name2, you need to execute the job to see if the job works without any compilation error or Java error to locate your issue in expression.
Best regards
Sabrina
Great
re: We usually use the Test! button to test a function.
can you point me to the documentation for the Test! button
Thank you again cterenzi (Kudos to you for the post !!)
Great reply and good link to documentation (love the chuck Norris ref !)
I have found the issue and it IS A BUG in the Talend expression/function checker, the coder who wrote this did not check for a Var (variable) that has no name defined
I wonder if they also checked for variables that are reserved words?
see screen shot of blank variable !
Hello,
Here is online document about:TalendHelpCenter:tMap operation
Feel free to create a jira issue about your issue or concern on talend bug tracker.https://jira.talendforge.org/secure/Dashboard.jspa
Best regards
Sabrina