<?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] Dynamic table name for tPostgresSQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347303#M114580</link>
    <description>Other possible way - make 2 steps Job&lt;BR /&gt;[list=1]&lt;BR /&gt;&lt;LI&gt;prepare list of tables&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;iterate thru list of tables&lt;/LI&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Mar 2017 21:49:31 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-03-13T21:49:31Z</dc:date>
    <item>
      <title>[resolved] Dynamic table name for tPostgresSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347301#M114578</link>
      <description>Hello all, 
&lt;BR /&gt;I would like to migrate all my ETL jobs from pentaho to talend. The job schema is described below. 
&lt;BR /&gt;tMongoDBInput--&amp;gt;row1(Main)--&amp;gt;tSetGlobalVar--&amp;gt;row2(Main)--&amp;gt; tPostgresSQL 
&lt;BR /&gt;In the tSetGlobaVar component I used as key "tbn" and value 
&lt;B&gt;row1.id&lt;/B&gt;. The Postgres output table name have the following value:&amp;nbsp; 
&lt;B&gt;(String)globalMap.get("tbn").&lt;/B&gt; 
&lt;BR /&gt;When I run the migration the table name is always 
&lt;B&gt;null&lt;/B&gt; and I am not able to pass the current value from the global variable. 
&lt;BR /&gt;Below my transformation schema. 
&lt;BR /&gt; 
&lt;BR /&gt;Could someone give me a hand of this? 
&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Mon, 13 Mar 2017 13:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347301#M114578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-13T13:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic table name for tPostgresSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347302#M114579</link>
      <description>This approach cannot work because the tPostgresqlOutput components setup there SQL statements just before the flow starts - also before you get your table name from tSetGlobalVar.&lt;BR /&gt;You could use tPostgresqlRow component, this component creates the statements within the flow.</description>
      <pubDate>Mon, 13 Mar 2017 20:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347302#M114579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-13T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic table name for tPostgresSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347303#M114580</link>
      <description>Other possible way - make 2 steps Job&lt;BR /&gt;[list=1]&lt;BR /&gt;&lt;LI&gt;prepare list of tables&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;iterate thru list of tables&lt;/LI&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2017 21:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347303#M114580</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-03-13T21:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic table name for tPostgresSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347304#M114581</link>
      <description>Hello all, 
&lt;BR /&gt;I've used the solution proposed by&amp;nbsp;jlolling. It works perfect. Regards the other solution I could not prepare the ids because are dynamic in each document comping from mongo. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you very much, 
&lt;BR /&gt;Jaume</description>
      <pubDate>Tue, 14 Mar 2017 11:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-table-name-for-tPostgresSQL/m-p/2347304#M114581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-14T11:38:51Z</dc:date>
    </item>
  </channel>
</rss>

