<?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 Re: talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332164#M101070</link>
    <description>use tJavaRow to set data row4.primary_key and row4.table_name during the main part of the job. in tMAp set "reload for each row" set globalMap Values here&lt;BR /&gt;your query must be something like that:&lt;BR /&gt;"select count(*) as record_count , '"+globalMap.get("primary_keys")+"' as primary_keys from&lt;BR /&gt;"+globalMap.get("table_name)+"&lt;BR /&gt;group by '"+globalMap.get("primary_keys")+"'&lt;BR /&gt;having count(*) &amp;gt;1&lt;BR /&gt;"&lt;BR /&gt;(queries are build in the begin of the job)&lt;BR /&gt;&lt;BR /&gt;3 levels of variables&lt;BR /&gt;context, globalMap, var&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Jul 2018 13:00:54 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-07-04T13:00:54Z</dc:date>
    <item>
      <title>talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332161#M101067</link>
      <description>&lt;P&gt;Hi There i have coded following code in tJDBC input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"select count(1) as record_count , '"+context.primary_keys+"' as primary_keys from&lt;BR /&gt;"+context.table_name+"&lt;/P&gt;&lt;P&gt;group by '"+context.primary_keys+"'&lt;BR /&gt;having count(1) =1&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;I am not able to find the result of above query which is showing error at group by clause.&lt;/P&gt;&lt;P&gt;Can anybody help to know how talend read context variable in group by clause??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332161#M101067</guid>
      <dc:creator>rohit1804</dc:creator>
      <dc:date>2024-11-16T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332162#M101068</link>
      <description>&lt;P&gt;"select count(1) as record_count , '"+context.primary_keys+"' as primary_keys from&lt;BR /&gt;"+context.table_name+"&lt;/P&gt;&lt;P&gt;group by '"+context.primary_keys+"'&lt;BR /&gt;having count(1) =1&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;count(1) !&amp;nbsp; count(fieadName), count(*)&amp;nbsp;or sum(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context.primary_keys have to be not empty it's comma separated list of fields name.&lt;/P&gt;&lt;P&gt;fields name: are with non spaces or quoted depending on your db.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if primary_keys are primary keys, all results are going to be unique! no need to count!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332162#M101068</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-07-03T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332163#M101069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW" target="_self"&gt;fdenis&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Actually what i am doing know , i want duplicates record which is present in my table so i read the table from my DB&amp;nbsp; and i have updated primary keys in primary_keys columns&amp;nbsp; and then i used tjava component to read my table name and primary_keys so i created context variable.i used that context variable in tjdbc component and coded as&amp;nbsp; &amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;"select count(*) as record_count , '"+context.primary_keys+"' as primary_keys from&lt;BR /&gt;"+context.table_name+"&lt;/P&gt; 
&lt;P&gt;group by '"+context.primary_keys+"'&lt;BR /&gt;having count(*) &amp;gt;1&lt;BR /&gt;"&lt;/P&gt; 
&lt;P&gt;But i am not getting my expected result .Please find the screenshot that i have uploaded.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtGO"&gt;job.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 04 Jul 2018 12:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332163#M101069</guid>
      <dc:creator>rohit1804</dc:creator>
      <dc:date>2018-07-04T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332164#M101070</link>
      <description>use tJavaRow to set data row4.primary_key and row4.table_name during the main part of the job. in tMAp set "reload for each row" set globalMap Values here&lt;BR /&gt;your query must be something like that:&lt;BR /&gt;"select count(*) as record_count , '"+globalMap.get("primary_keys")+"' as primary_keys from&lt;BR /&gt;"+globalMap.get("table_name)+"&lt;BR /&gt;group by '"+globalMap.get("primary_keys")+"'&lt;BR /&gt;having count(*) &amp;gt;1&lt;BR /&gt;"&lt;BR /&gt;(queries are build in the begin of the job)&lt;BR /&gt;&lt;BR /&gt;3 levels of variables&lt;BR /&gt;context, globalMap, var&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2018 13:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332164#M101070</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-07-04T13:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332165#M101071</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW" target="_self"&gt;fdenis&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;need one more help&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;As i am new to talend how and where&amp;nbsp; should i defined globalmap variable?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332165#M101071</guid>
      <dc:creator>rohit1804</dc:creator>
      <dc:date>2018-07-04T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332166#M101072</link>
      <description>in tFlowToIterate,in tSetGlobalVar and indirectly somme other components like tFileList….</description>
      <pubDate>Wed, 04 Jul 2018 15:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332166#M101072</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-07-04T15:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332167#M101073</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-message-author-with-avatar"&gt;
 &lt;SPAN class="UserName lia-user-name lia-user-rank-Nine-Stars lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW" target="_self"&gt;&lt;/A&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My job is executed successfully .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 08:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/talend/m-p/2332167#M101073</guid>
      <dc:creator>rohit1804</dc:creator>
      <dc:date>2018-07-05T08:20:48Z</dc:date>
    </item>
  </channel>
</rss>

