<?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: [resolved] Problem in tUniqRow and tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277714#M53404</link>
    <description>Hi Akshath, 
&lt;BR /&gt;As you said that to ignore time in tmap, 
&lt;BR /&gt;I have create a job in such a way that to meet your requirement and got the output like "2014-03-04" and "2014-03-05". 
&lt;BR /&gt;tFileinputDelimited--(main)--tjavarow--(main)--tuniquerow--tlogRow. 
&lt;BR /&gt;i have taken input as string and if you want in date format you can use tconvertType after tuniqueRow. 
&lt;BR /&gt;The code i have used in tJavaRow is 
&lt;BR /&gt;output_row.START_TIME=TalendDate.formatDate("yyyy-MM-dd", 
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd", input_row.START_TIME));. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157218i3FB8887901170BD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJv.png" alt="0683p000009MDJv.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 20 Mar 2014 11:26:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-20T11:26:38Z</dc:date>
    <item>
      <title>[resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277703#M53393</link>
      <description>hai,&lt;BR /&gt;   I have two jobs.&lt;BR /&gt;first job :&lt;BR /&gt;tfileInputdel --- &amp;gt; tsort----- &amp;gt; tuniqueRow---uniques---&amp;gt;tMap----&amp;gt; mysql&lt;BR /&gt;second job :&lt;BR /&gt;tfileInputdelemited----&amp;gt;tMap--- &amp;gt; tsortrow----- &amp;gt; tuniqueRow---uniques---&amp;gt;tfileOutputDel&lt;BR /&gt;first job working fine. im able to insert unique values to mysql table.&lt;BR /&gt;but in second job im facing problem. In second job, tsortRow working fine but tUniqueRoe is not giving uniques values.&lt;BR /&gt;so this is resulting in duplicate values in file.&lt;BR /&gt;Can anybody explain why this abnormal behavior is happening??&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Tue, 18 Mar 2014 09:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277703#M53393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T09:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277704#M53394</link>
      <description>Hi,&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;but in second job im facing problem. In second job, tsortRow working fine but tUniqueRoe is not giving uniques values.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;You can use tLogrow to print output data from tSortRow on console to see  if there is any duplicated row in job 2. How did you set tMap component in job 2? Could you please elaborate your case with an example with input and expected output values?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 18 Mar 2014 10:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277704#M53394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T10:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277705#M53395</link>
      <description>hi,&lt;BR /&gt;  Thank you for quick reply.&lt;BR /&gt;For your information, We are using outputfile of second job as input file for 1st job.&lt;BR /&gt;here goes the explanation:&lt;BR /&gt;job2 have files with one field. So that field is START_DATE.&lt;BR /&gt;example:&lt;BR /&gt;START_DATE:&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-05&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-04&lt;BR /&gt;2014-03-05&lt;BR /&gt;2014-03-05&lt;BR /&gt;2014-03-05&lt;BR /&gt;as you told i used Logrow but its taking all rows and inserting into output file.&lt;BR /&gt;but wen i run 1st job its sorting rows properly.  whether usage of tMap before tsortRow is making any difference?? &lt;BR /&gt;so same components giving two different results. its quite confusing. can u please help me to solve it.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Tue, 18 Mar 2014 10:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277705#M53395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277706#M53396</link>
      <description>Hi, 
&lt;BR /&gt;Did you set any expression or filter in tMap of second job? Could you show us this tMap editor screenshot so that we can take a testing to see if it is abnormal.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 18 Mar 2014 10:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277706#M53396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T10:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277707#M53397</link>
      <description>hi, 
&lt;BR /&gt; Here is input file data: 
&lt;BR /&gt;START_TIME 
&lt;BR /&gt;2014-03-04 10:20:02 
&lt;BR /&gt;2014-03-05 11:20:05 
&lt;BR /&gt;2014-03-05 10:20:02 
&lt;BR /&gt;2014-03-04 10:25:02 
&lt;BR /&gt;2014-03-04 10:20:02 
&lt;BR /&gt;2014-03-05 11:20:05 
&lt;BR /&gt;2014-03-05 10:20:02 
&lt;BR /&gt;2014-03-04 10:25:02 
&lt;BR /&gt;2014-03-04 10:20:02 
&lt;BR /&gt;2014-03-05 11:20:05 
&lt;BR /&gt;2014-03-05 10:20:02 
&lt;BR /&gt;2014-03-04 10:25:02 
&lt;BR /&gt;2014-03-04 10:20:02 
&lt;BR /&gt;2014-03-05 11:20:05 
&lt;BR /&gt;2014-03-05 02:00:00 
&lt;BR /&gt;2014-03-04 11:00:00 
&lt;BR /&gt; 
&lt;BR /&gt;job structure : 
&lt;BR /&gt;tfileinputde--- &amp;gt; tMap---&amp;gt; tsort--&amp;gt; tuniqueRow---unqiues-- &amp;gt;tlogrow 
&lt;BR /&gt;data type in tFileInputDel : Date (format: yyyy-MM-dd HH:mm:ss) 
&lt;BR /&gt;Expected Output: 
&lt;BR /&gt;2014-03-05 
&lt;BR /&gt;2014-03-04 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDEE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146859iC6D3EA1D5C4AD03D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDEE.png" alt="0683p000009MDEE.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155007iD9759D6372085508/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJl.png" alt="0683p000009MDJl.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277707#M53397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T11:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277708#M53398</link>
      <description>hi,&lt;BR /&gt;   Anybody please suggest any solution for above problem.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Wed, 19 Mar 2014 04:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277708#M53398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T04:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277709#M53399</link>
      <description>Hi, 
&lt;BR /&gt;I have make a testing for you use case and found job 1 and job 2 have same result. Feel free let me know if I missing. 
&lt;BR /&gt;The actual result should be : 
&lt;BR /&gt;2014-03-04 (10:20:02) 
&lt;BR /&gt;2014-03-04 (10:25:02) 
&lt;BR /&gt;2014-03-04 (11:00:00) 
&lt;BR /&gt;2014-03-05 (11:20:05) 
&lt;BR /&gt;2014-03-05 (10:20:02) 
&lt;BR /&gt;2014-03-05 (02:00:00)(the HH:mm:ss are not displayed according to the date pattern setting yyyy-MM-dd) 
&lt;BR /&gt;Please see my screenshots 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140933iACFEA5FDC7E8A480/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJq.png" alt="0683p000009MDJq.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277709#M53399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T04:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277710#M53400</link>
      <description>hi,
&lt;BR /&gt; Thank you reply. but result should be as follows:
&lt;BR /&gt;Result :
&lt;BR /&gt;2014-03-04
&lt;BR /&gt;2014-03-05
&lt;BR /&gt;but in your screen shot same date is displayed multiple time. job should display only unique dates. 
&lt;BR /&gt;In resultant LogRow same date displayed more then once. Hope u got my point.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Wed, 19 Mar 2014 08:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277710#M53400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T08:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277711#M53401</link>
      <description>hi,&lt;BR /&gt;   Anybody know how can we resolve this problem?? please let me know how to resolve this one.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Thu, 20 Mar 2014 08:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277711#M53401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T08:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277712#M53402</link>
      <description>What do you get as your sorted output - you haven't said.</description>
      <pubDate>Thu, 20 Mar 2014 09:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277712#M53402</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2014-03-20T09:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277713#M53403</link>
      <description>hi,
&lt;BR /&gt; Thank you for response. Will you please look into snap shots which sabrina posted. in that sorted and everything you will get to know. and input also i have mentioned in my previous post. 
&lt;BR /&gt; don wanted to tell this but Have to tell now, talend people least bothered of our posts!!! some component is not working as per our requirement, example tsortRow And tUniqueRow.
&lt;BR /&gt;i want unique dates from these input (ignore the time in tMap):
&lt;BR /&gt;2014-03-04 10:20:02
&lt;BR /&gt;2014-03-05 11:20:05
&lt;BR /&gt;2014-03-05 10:20:02
&lt;BR /&gt;2014-03-04 10:25:02
&lt;BR /&gt;2014-03-04 10:20:02
&lt;BR /&gt;2014-03-05 11:20:05
&lt;BR /&gt;2014-03-05 10:20:02
&lt;BR /&gt;2014-03-04 10:25:02
&lt;BR /&gt;2014-03-04 10:20:02
&lt;BR /&gt;2014-03-05 11:20:05
&lt;BR /&gt;2014-03-05 10:20:02
&lt;BR /&gt;2014-03-04 10:25:02
&lt;BR /&gt;2014-03-04 10:20:02
&lt;BR /&gt;2014-03-05 11:20:05
&lt;BR /&gt;2014-03-05 02:00:00
&lt;BR /&gt;2014-03-04 11:00:00
&lt;BR /&gt;so output should be :
&lt;BR /&gt;2014-03-04
&lt;BR /&gt;2014-03-05
&lt;BR /&gt;We have date format in tsort and tUniqueRow (i.e. we can select only yyyy-MM-dd from yyyy-MM-dd HH:mm:ss)
&lt;BR /&gt;but its not working only. 
&lt;BR /&gt;sabrina posted answer like this :
&lt;BR /&gt;2014-03-04
&lt;BR /&gt;2014-03-04 
&lt;BR /&gt;2014-03-04 
&lt;BR /&gt;2014-03-05 
&lt;BR /&gt;2014-03-05 
&lt;BR /&gt;2014-03-05 
&lt;BR /&gt;for anybody this final result looks like unique!!!! both "2014-03-04" and "2014-03-05" displayed three times!!
&lt;BR /&gt;
&lt;BR /&gt;-akshath</description>
      <pubDate>Thu, 20 Mar 2014 10:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277713#M53403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T10:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277714#M53404</link>
      <description>Hi Akshath, 
&lt;BR /&gt;As you said that to ignore time in tmap, 
&lt;BR /&gt;I have create a job in such a way that to meet your requirement and got the output like "2014-03-04" and "2014-03-05". 
&lt;BR /&gt;tFileinputDelimited--(main)--tjavarow--(main)--tuniquerow--tlogRow. 
&lt;BR /&gt;i have taken input as string and if you want in date format you can use tconvertType after tuniqueRow. 
&lt;BR /&gt;The code i have used in tJavaRow is 
&lt;BR /&gt;output_row.START_TIME=TalendDate.formatDate("yyyy-MM-dd", 
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd", input_row.START_TIME));. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157218i3FB8887901170BD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJv.png" alt="0683p000009MDJv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 20 Mar 2014 11:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277714#M53404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem in tUniqRow and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277715#M53405</link>
      <description>hi,
&lt;BR /&gt; Thank you BhanuChandar for your answer.
&lt;BR /&gt; I got the solution for that. my solution as follows.
&lt;BR /&gt;job design :
&lt;BR /&gt;tFileInputdel--date format--&amp;gt; tMap ---string format----&amp;gt; tsortRow ---string format--- &amp;gt;tUnique ----string format-- &amp;gt; tLogRow
&lt;BR /&gt;Field : START_TIME_STAMP (format : "yyyy-MM-dd HH:mm:ss")
&lt;BR /&gt;my solution is simple: im converting date to string in tMap. just give FormatterUtils.format(row1.START_TIME_STAMP,"yyyy-MM-dd") in expression builder of tMap.
&lt;BR /&gt;
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Thu, 20 Mar 2014 13:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-in-tUniqRow-and-tMap/m-p/2277715#M53405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T13:40:28Z</dc:date>
    </item>
  </channel>
</rss>

