<?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: tmap reload at each row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332689#M101545</link>
    <description>Hello,
&lt;BR /&gt;While I insert rows in a tOracleOutput, I need to update an identificator field (ID_VALUE) of this componenet with the last value of it plus 1 (ID_VALUE = MAX(ID_VALUE) +1).
&lt;BR /&gt;Please, any idea of how can I do this. I'm using a t_map.
&lt;BR /&gt;Thanks a lot,
&lt;BR /&gt;Gracia.</description>
    <pubDate>Wed, 28 Apr 2010 16:39:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-28T16:39:16Z</dc:date>
    <item>
      <title>tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332687#M101543</link>
      <description>Hi,
&lt;BR /&gt;I've a list of customers whith a numeric field called "matric". My goal is this: when I find an input record with the same value of "matric" (for example 15) I need to add 1000 and to remember the new value (1015) so that if an other customer come with the value of matric 15 I can add 1000 to the latest value (1015) obtaining 2015 and so on.
&lt;BR /&gt;To store the values I made a delimited file with 2 fields: the original matric and the latest value used.
&lt;BR /&gt;I put this file once in input as lookup and once in output and I checked "reload at each row".
&lt;BR /&gt;But it seems not to reload 
&lt;BR /&gt;I upload the tmap.
&lt;BR /&gt;The Var.matcon contains this:
&lt;BR /&gt;Relational.ISNULL(matr_IN.matric_original)
&lt;BR /&gt;?
&lt;BR /&gt;out1.matric.trim()
&lt;BR /&gt;:
&lt;BR /&gt;String.valueOf(matr_IN.matric_last_used+1000) 
&lt;BR /&gt; 
&lt;BR /&gt;Many thanks!
&lt;BR /&gt;Flav</description>
      <pubDate>Sat, 16 Nov 2024 13:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332687#M101543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332688#M101544</link>
      <description>Sorry,
&lt;BR /&gt;I made a big mistake! 
&lt;BR /&gt;To store the values I can't use a file (because I've to do insert o updates).
&lt;BR /&gt;Now I've replaced the file with an Access table and I put the "commit" after every operation of insert/delete
&lt;BR /&gt;And it works!!!
&lt;BR /&gt;(with DataStage I used hash files and I never thought that I need a DB Table with commit=1)
&lt;BR /&gt;Bye!
&lt;BR /&gt;Flav</description>
      <pubDate>Fri, 05 Feb 2010 13:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332688#M101544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-05T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332689#M101545</link>
      <description>Hello,
&lt;BR /&gt;While I insert rows in a tOracleOutput, I need to update an identificator field (ID_VALUE) of this componenet with the last value of it plus 1 (ID_VALUE = MAX(ID_VALUE) +1).
&lt;BR /&gt;Please, any idea of how can I do this. I'm using a t_map.
&lt;BR /&gt;Thanks a lot,
&lt;BR /&gt;Gracia.</description>
      <pubDate>Wed, 28 Apr 2010 16:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332689#M101545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-28T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332690#M101546</link>
      <description>Hello 
&lt;BR /&gt;Before inserting each row into db, query the max value of ID_VALUE column and store it global var.
&lt;BR /&gt;Please see my screenshots.
&lt;BR /&gt;Just one point, do you consider using a oracle sequence for identificator field (ID_VALUE)?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Apr 2010 04:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332690#M101546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T04:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332691#M101547</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hello &lt;BR /&gt;Before inserting each row into db, query the max value of ID_VALUE column and store it global var.&lt;BR /&gt;Please see my screenshots.&lt;BR /&gt;Just one point, do you consider using a oracle sequence for identificator field (ID_VALUE)?&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hello Shong,
&lt;BR /&gt;thanks for your help. 
&lt;BR /&gt;Yes I've consider to use an oracle sequence, but I don't Know how to implement it with Talend inside my job. 
&lt;BR /&gt;Gracia.</description>
      <pubDate>Thu, 29 Apr 2010 09:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332691#M101547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332692#M101548</link>
      <description>Shong, 
&lt;BR /&gt;what do you use for tRowGenerator, tFlowToIterate and tFixedFlowInput. I'm using directly tOracleInput, tMap (where I define the variable) and tOracleOutput. 
&lt;BR /&gt;Thanks again, 
&lt;BR /&gt;Gracia.</description>
      <pubDate>Thu, 29 Apr 2010 11:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332692#M101548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T11:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332693#M101549</link>
      <description>Hello 
&lt;BR /&gt;About oracle sequence in Talend, you can see 1488.
&lt;BR /&gt;I use tRowGenerator to generate some test data and use tFlowToIterate to iterate each row, see 5827.
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Apr 2010 11:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332693#M101549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T11:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332694#M101550</link>
      <description>OK, perfect. Thank you very much.
&lt;BR /&gt;Now, I've got a problem with my tFixedFlowInput. I describe below my job (more or less):
&lt;BR /&gt; tOracleInput ------&amp;gt; tJavaRow ----&amp;gt; tFixedFlow --------------&amp;gt; tMap ---------&amp;gt; tOracleOutput
&lt;BR /&gt; row1 row2
&lt;BR /&gt;When I run the job, it send the next Java Error:
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at integracion.copy_of_integracion_b_0_1.Copy_of_Integracion_b.tFixedFlowInput_1Process(Copy_of_Integracion_b.java:3899)
&lt;BR /&gt;The line refers to the next code: 
&lt;BR /&gt;row2.ID_USUARIO = (Integer) globalMap.get("row1.ID_USUARIO");
&lt;BR /&gt;Any idea of the problem?.
&lt;BR /&gt;Thanks a lot,
&lt;BR /&gt;Gracia.</description>
      <pubDate>Thu, 29 Apr 2010 16:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332694#M101550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332695#M101551</link>
      <description>Hello 
&lt;BR /&gt;Is there a column called ID_USUARIO on tOracleInput component? please show me the whole error message printed on console.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 30 Apr 2010 08:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332695#M101551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-30T08:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: tmap reload at each row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332696#M101552</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hello &lt;BR /&gt;Is there a column called ID_USUARIO on tOracleInput component? please show me the whole error message printed on console.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hello Shong,
&lt;BR /&gt;yes, there is a column called ID_USUARIO on tOracleInput component. It catches the next value
&lt;BR /&gt;"SELECT MAX(EFLU_ADMIN.EFLU_USUARIOS.ID_USUARIO) +1
&lt;BR /&gt;FROM EFLU_ADMIN.EFLU_USUARIOS"
&lt;BR /&gt;Here below, I've typed the complete error:
&lt;BR /&gt;Exception in component tFixedFlowInput_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at integracion.copy_of_integracion_b_0_1.Copy_of_Integracion_b.tFixedFlowInput_1Process(Copy_of_Integracion_b.java:3953)
&lt;BR /&gt; at integracion.copy_of_integracion_b_0_1.Copy_of_Integracion_b.tOracleInput_6Process(Copy_of_Integracion_b.java:613)
&lt;BR /&gt; at integracion.copy_of_integracion_b_0_1.Copy_of_Integracion_b.runJobInTOS(Copy_of_Integracion_b.java:10694)
&lt;BR /&gt; at integracion.copy_of_integracion_b_0_1.Copy_of_Integracion_b.main(Copy_of_Integracion_b.java:10587)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Gracia.</description>
      <pubDate>Fri, 30 Apr 2010 11:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-reload-at-each-row/m-p/2332696#M101552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-30T11:46:16Z</dc:date>
    </item>
  </channel>
</rss>

