<?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 Getting Boolean instead of integer in tmap, help needed in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329997#M99132</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt; Just downloaded Talend Big data community version into my laptop and trying to do even and odd number printing to tlogrow.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;added trowgenerator to the job&lt;/LI&gt;&lt;LI&gt;added tmap&lt;/LI&gt;&lt;LI&gt;added tlogrow-one for odd-one for even....later I would like to make it as one tlogrow.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The job is as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AU8QsAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130769iA23FC777381CD883/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AU8QsAAL.png" alt="0693p00000AU8QsAAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In trowgenerator, created a column sq_id as integer with function numeric.sequence&lt;/P&gt;&lt;P&gt;in tmap, I am trying to use the mod function to get divisable as 1 or 0 to identify it as even or odd....the image is as below&lt;/P&gt;&lt;P&gt;I am getting error saying , type mismatch, cannot convert from boolean to integer&lt;/P&gt;&lt;P&gt;can someone help me here how to handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AU8TDAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131502i7BC08790E0B0B20C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AU8TDAA1.png" alt="0693p00000AU8TDAA1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:29:38 GMT</pubDate>
    <dc:creator>SV1605718563</dc:creator>
    <dc:date>2024-11-16T00:29:38Z</dc:date>
    <item>
      <title>Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329997#M99132</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt; Just downloaded Talend Big data community version into my laptop and trying to do even and odd number printing to tlogrow.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;added trowgenerator to the job&lt;/LI&gt;&lt;LI&gt;added tmap&lt;/LI&gt;&lt;LI&gt;added tlogrow-one for odd-one for even....later I would like to make it as one tlogrow.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The job is as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AU8QsAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130769iA23FC777381CD883/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AU8QsAAL.png" alt="0693p00000AU8QsAAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In trowgenerator, created a column sq_id as integer with function numeric.sequence&lt;/P&gt;&lt;P&gt;in tmap, I am trying to use the mod function to get divisable as 1 or 0 to identify it as even or odd....the image is as below&lt;/P&gt;&lt;P&gt;I am getting error saying , type mismatch, cannot convert from boolean to integer&lt;/P&gt;&lt;P&gt;can someone help me here how to handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AU8TDAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131502i7BC08790E0B0B20C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AU8TDAA1.png" alt="0693p00000AU8TDAA1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329997#M99132</guid>
      <dc:creator>SV1605718563</dc:creator>
      <dc:date>2024-11-16T00:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329998#M99133</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;Can you paste the expression in the post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 05:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329998#M99133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-05T05:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329999#M99134</link>
      <description>&lt;P&gt;You are writing expression in the value field of tMap.&lt;/P&gt;&lt;P&gt;Mathematical.MOD() == 1 will return true or false which is a Boolean value and you are trying to assign it on seq_id which is a integer.&lt;/P&gt;&lt;P&gt;You have to write this MOD() function in the filter condition on tMap on the top of output.&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AUHDiAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146324i3BD860D03E5BEBA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AUHDiAAP.png" alt="0693p00000AUHDiAAP.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 05:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2329999#M99134</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-03-05T05:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330000#M99135</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;...I am able to fix this by assign the expression to a variable and it worked.&lt;/P&gt;&lt;P&gt;here is the expression: row1.sq_id%2==0?row1.sq_id+"-even":row1.sq_id+"-odd"&amp;nbsp;....thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 12:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330000#M99135</guid>
      <dc:creator>SV1605718563</dc:creator>
      <dc:date>2021-03-05T12:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330001#M99136</link>
      <description>&lt;P&gt;HI @prakhar dubey​&amp;nbsp;....I will try your way also....I am able to fix this by assign the expression to a variable and it worked. here is the expression: row1.sq_id%2==0?row1.sq_id+"-even":row1.sq_id+"-odd"&amp;nbsp;....thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 12:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330001#M99136</guid>
      <dc:creator>SV1605718563</dc:creator>
      <dc:date>2021-03-05T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Boolean instead of integer in tmap, help needed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330002#M99137</link>
      <description>&lt;P&gt;This incident is closed...thanks to all&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 12:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Boolean-instead-of-integer-in-tmap-help-needed/m-p/2330002#M99137</guid>
      <dc:creator>SV1605718563</dc:creator>
      <dc:date>2021-03-05T12:59:28Z</dc:date>
    </item>
  </channel>
</rss>

