<?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: Postgres stored procedure with dynamic inputs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377859#M139670</link>
    <description>&lt;P&gt;I managed to get it working.  I discovered that when you link the output of a tMap to something, the data from the tMap is available under the name of the tMap output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I'd named the tMap output AccessToken with some columns so in the tPostgreSQLRow I could then reference the data via AccessToken.columnName.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple when you think about it.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 04:43:24 GMT</pubDate>
    <dc:creator>GeoffreyH</dc:creator>
    <dc:date>2022-02-15T04:43:24Z</dc:date>
    <item>
      <title>Postgres stored procedure with dynamic inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377856#M139667</link>
      <description>&lt;P&gt;I've done some initial research around stored procedures for Postgres and seen mention of a tPostgresqlSP component in Forge but it seems this is no longer available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've heard mention of using tPostgresqlRow but am unsure how to get the output data from a tMap and add them to the SQL query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I access the data from the output of a tMap to use in the SQL query of a &lt;/P&gt;&lt;P&gt;tPostgresqlRow component?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the only way to replace the tMap with a tJavaRow and set context variables?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377856#M139667</guid>
      <dc:creator>GeoffreyH</dc:creator>
      <dc:date>2024-11-15T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres stored procedure with dynamic inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377857#M139668</link>
      <description>&lt;P&gt;To be honest, I'm new to Talend and have no idea what you're saying here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the output values of a tMap so as to use them in a tPostgresRow SQL query?  Do I first have to set them via context properties?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 00:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377857#M139668</guid>
      <dc:creator>GeoffreyH</dc:creator>
      <dc:date>2022-02-02T00:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres stored procedure with dynamic inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377858#M139669</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You could call a procedure indeed with a tPostgresqlInput component via a select query. A new tPostgresqlInput component should be triggered in your case starting from tPostgresqlOutput_1 and with OnComponentOk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; tFileInputDelimited_1 --(row1)-&amp;gt; tMap_1 --(row2)-&amp;gt; tPostgresqlOutput_1&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; \&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;--------(iterate2)-&amp;gt; tPostgresqlInput_1 --(row2)-&amp;gt; tMap2 --(row3)-&amp;gt; ...&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 04:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377858#M139669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-15T04:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres stored procedure with dynamic inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377859#M139670</link>
      <description>&lt;P&gt;I managed to get it working.  I discovered that when you link the output of a tMap to something, the data from the tMap is available under the name of the tMap output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I'd named the tMap output AccessToken with some columns so in the tPostgreSQLRow I could then reference the data via AccessToken.columnName.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple when you think about it.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 04:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-stored-procedure-with-dynamic-inputs/m-p/2377859#M139670</guid>
      <dc:creator>GeoffreyH</dc:creator>
      <dc:date>2022-02-15T04:43:24Z</dc:date>
    </item>
  </channel>
</rss>

