<?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: issue with tMemorizeRows component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206016#M6249</link>
    <description>I think the problem is the example in the help is bad. tMemorizeRows creates an array of objects so you should not use == or != to compare them. Change your expression instead to !id_tMemorizeRows_2.equals(id_tMemorizeRows_2) and see if that works.</description>
    <pubDate>Thu, 02 Aug 2012 01:35:02 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-08-02T01:35:02Z</dc:date>
    <item>
      <title>issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206011#M6244</link>
      <description>Hi, 
&lt;BR /&gt;I have a very simple job which compares previous row with next row. It works fine for one data and does not work for another. 
&lt;BR /&gt;Data type is set to int, it works fine with series : id,1,2,2,2,1,1,2,3,4,5,4,3,2,1 
&lt;BR /&gt;but does not work with actual data : id 1738047321,1738047323, 1738047323, 1738047323, 1738047322,1738047322,1738047323,1738047321,1738047321,1738047323,1738047323,1738047323 
&lt;BR /&gt;I also tried using long as well as string also 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;, but it won't work. 
&lt;BR /&gt;I am not sure why it is not returning proper results. I am using following code in tjavarow component. 
&lt;BR /&gt;if (id_tMemorizeRows_2 != id_tMemorizeRows_2) 
&lt;BR /&gt;{System.out.println("ID changed");} 
&lt;BR /&gt;else 
&lt;BR /&gt;{System.out.println("ID not changed");} 
&lt;BR /&gt;What i need to do to make this work with the above data. 
&lt;BR /&gt;I am using Talend version 4.2.2.r63143 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 01 Aug 2012 08:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206011#M6244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T08:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206012#M6245</link>
      <description>Hi Vaibhav&lt;BR /&gt;What error do you get?&lt;BR /&gt;Or what wrong result?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 01 Aug 2012 08:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206012#M6245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206013#M6246</link>
      <description>Oh sorry,&lt;BR /&gt;I missed to explain what is going wrong... &lt;BR /&gt;In case of second data set, it is executing the else condition for all cases. There is no error in the job.&lt;BR /&gt;Thanks&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 01 Aug 2012 09:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206013#M6246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T09:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206014#M6247</link>
      <description>Hi Vaibhav 
&lt;BR /&gt;I happened to face this issue before that I wrongly modify the data type of this column to String. 
&lt;BR /&gt;Please check the data type again. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 01 Aug 2012 09:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206014#M6247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206015#M6248</link>
      <description>There is no issue with the data type.
&lt;BR /&gt;As i said earlier, same job works fine with first series and it does not work with the second series. 
&lt;BR /&gt;How i verified it ?
&lt;BR /&gt;1) Take the csv file with the first series of data --&amp;gt; execute it --&amp;gt; gets success
&lt;BR /&gt;2) Update same csv file with new data set --&amp;gt; execute it --&amp;gt; only second loop gets executed.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 01 Aug 2012 11:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206015#M6248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T11:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206016#M6249</link>
      <description>I think the problem is the example in the help is bad. tMemorizeRows creates an array of objects so you should not use == or != to compare them. Change your expression instead to !id_tMemorizeRows_2.equals(id_tMemorizeRows_2) and see if that works.</description>
      <pubDate>Thu, 02 Aug 2012 01:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206016#M6249</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-02T01:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206017#M6250</link>
      <description>alevy,
&lt;BR /&gt;The suggestion which you gave, I tried initially to implement while debugging the issue, But, at that time it didn't work. But, now when i tried, it worked....
&lt;BR /&gt;if (rep_id_tMemorizeRows_2.equals(rep_id_tMemorizeRows_2))
&lt;BR /&gt;{
&lt;BR /&gt;System.out.println("id not changed");
&lt;BR /&gt;}
&lt;BR /&gt;else
&lt;BR /&gt;{
&lt;BR /&gt;System.out.println("id changed");
&lt;BR /&gt;}
&lt;BR /&gt;Above code worked well.
&lt;BR /&gt;But it is also true that previous code works for one series and does not work for another... This is something Talend dev team people can think of.
&lt;BR /&gt;Thanks for the quick suggestion.
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Thu, 02 Aug 2012 15:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206017#M6250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-02T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue with tMemorizeRows component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206018#M6251</link>
      <description>I think it's a fluke of the comparison in Java and nothing that can be addressed by Talend. I have encountered before cases where == between Integers sometimes is true and sometimes not.</description>
      <pubDate>Thu, 02 Aug 2012 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-tMemorizeRows-component/m-p/2206018#M6251</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-02T15:51:06Z</dc:date>
    </item>
  </channel>
</rss>

