<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error in tmap expression syntax in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336397#M104846</link>
    <description>&lt;P&gt;HI all,&lt;/P&gt;
&lt;P&gt;Can any one please suggest me on below expression in tmap component.&lt;/P&gt;
&lt;P&gt;Scenario: I am trying to filter the records in tmap component using below expression, but unfortunately i am getting expression syntax error.&lt;/P&gt;
&lt;P&gt;row.EMPNO==7839&lt;/P&gt;
&lt;P&gt;error message:&amp;nbsp;Exception in thread "main" java.lang.Error: Unresolved compilation problem:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please suggest me on the above error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Hareesh&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2017 05:54:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-19T05:54:54Z</dc:date>
    <item>
      <title>Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336397#M104846</link>
      <description>&lt;P&gt;HI all,&lt;/P&gt;
&lt;P&gt;Can any one please suggest me on below expression in tmap component.&lt;/P&gt;
&lt;P&gt;Scenario: I am trying to filter the records in tmap component using below expression, but unfortunately i am getting expression syntax error.&lt;/P&gt;
&lt;P&gt;row.EMPNO==7839&lt;/P&gt;
&lt;P&gt;error message:&amp;nbsp;Exception in thread "main" java.lang.Error: Unresolved compilation problem:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please suggest me on the above error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 05:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336397#M104846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-19T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336398#M104847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You miss the row number in the expression "&lt;SPAN&gt;row.EMPNO==7839".&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Should be "&lt;FONT color="#FF0000"&gt;rowX&lt;/FONT&gt;"&amp;nbsp;where "&lt;FONT color="#FF0000"&gt;X&lt;/FONT&gt;" depends on your job design.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In case you just forgot "&lt;FONT color="#FF0000"&gt;X&lt;/FONT&gt;" in the post,&amp;nbsp;is EMPNO an integer?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then if it's&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;a String, replace the expression by the following if it makes sense:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;"7839".equals(rowX.EMPNO)&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;or this one to convert EMPNO before the evaluation:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;Integer.parseInt(rowX.EMPNO) == 7839&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 09:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336398#M104847</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-11-19T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336399#M104848</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your input.&lt;/P&gt;
&lt;P&gt;i tried with below approach but it didn't work.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In case you just forgot "&lt;FONT color="#ff0000"&gt;X&lt;/FONT&gt;" in the post,&amp;nbsp;is EMPNO an integer?&lt;/SPAN&gt;--- Yes I forgot the X&lt;/P&gt;
&lt;P&gt;&amp;nbsp; is EMPNO an integer??--- No EMPNO is BigDecimal&lt;/P&gt;
&lt;P&gt;tried the below expressions both:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Integer.ParseInt(row1.EMPNO)==7839...it didn't work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;could you please look into it.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 09:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336399#M104848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-19T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336400#M104849</link>
      <description>&lt;P&gt;So,&amp;nbsp;transform you &lt;SPAN&gt;7839&amp;nbsp;&lt;/SPAN&gt;to a BigDecimal before the camparison:&lt;/P&gt;
&lt;PRE&gt;BigInteger.valueOf(&lt;SPAN&gt;7839&lt;/SPAN&gt;).compareTo(row1.EMPNO)&lt;/PRE&gt;
&lt;P&gt;Should work.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 09:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336400#M104849</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-11-19T09:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336401#M104850</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried with below given expression but it was giving an error BigInteger cannot be resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i tired using tConvertType component to convert my BigDecimal to Integer then filtered it. so it is working now.&lt;/P&gt;
&lt;P&gt;please do let me know do you any documented related to all converstion types???&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 09:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336401#M104850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-19T09:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in tmap expression syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336402#M104851</link>
      <description>&lt;P&gt;You're right.&lt;/P&gt;&lt;P&gt;You need to import java.math.BigInteger first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Google should help you to learn all about datatype conversion.&lt;/P&gt;&lt;P&gt;Don't forget to close the case for other people facing the same issue.&lt;/P&gt;&lt;P&gt;Kudos also accepted for the given time.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 11:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-tmap-expression-syntax/m-p/2336402#M104851</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-11-19T11:57:01Z</dc:date>
    </item>
  </channel>
</rss>

