<?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: Can not retrieve querys tDBInput object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340016#M108092</link>
    <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp;many thanks.&lt;/P&gt;&lt;P&gt;With what you have proposed to me, it no longer fails, which was the objective to be able to see the operation and the interaction with the different databases.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaV4lAAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150461i7A554E3CB99BC53D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaV4lAAF.jpg" alt="0695b00000EaV4lAAF.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to be able to get the following model to work, which would not be necessary to go through temporary files to retrieve the SQL statements, but it is so that it is understood that we would like to test.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaV4vAAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129199iDAE2D8D2AFB84703/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaV4vAAF.jpg" alt="0695b00000EaV4vAAF.jpg" /&gt;&lt;/span&gt;In this case, from tDBDP_1, it returns different querys statements that retrieve data from different tables, and that the results of each of the SQL statements retrieved and executed in tDBINPUT_1, for each one of them, a JSON file must be generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think this is the best model to make, to obtain the commented results?&lt;/P&gt;&lt;P&gt;Thanks in advance. I send you love &amp;amp; kudos&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 12:08:36 GMT</pubDate>
    <dc:creator>josaalsu</dc:creator>
    <dc:date>2021-04-27T12:08:36Z</dc:date>
    <item>
      <title>Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340012#M108088</link>
      <description>&lt;P&gt;I have defined the following flow&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaHziAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129322i93A241C8868CE114/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaHziAAF.png" alt="0695b00000EaHziAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;tDBInput_1 retrieving owner &amp;amp; tables to perform a extraction from INFORMIX to Data Lake&lt;/P&gt;&lt;P&gt;All querys was correctly extracted from tFileOutputDelimited_2&lt;/P&gt;&lt;P&gt;All querys was correctly readed from tFileInputRow_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it can be seen in the following screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaI0bAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132943i9A96B368CA477BB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaI0bAAF.png" alt="0695b00000EaI0bAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but, if I link the object tFileInputFullRow_1 with the object tDbInput_2, it tells me that it cannot execute the query, because the SQL statement is null.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaI28AAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151979i63C1BCDA9838BB6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaI28AAF.png" alt="0695b00000EaI28AAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in QUERY, I have put:&lt;/P&gt;&lt;P&gt;((String) globalMap.get ("tFileInputFullRow_1.csql"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((String) globalMap.get ("tFileInputFullRow_1_csql"))&lt;/P&gt;&lt;P&gt;((String) globalMap.get ("csql"))&lt;/P&gt;&lt;P&gt;But it always returns the same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaI2hAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151629i58E3744D849837C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaI2hAAF.png" alt="0695b00000EaI2hAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what I'm doing wrong?&lt;/P&gt;&lt;P&gt;Thanks in advance. Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 16:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340012#M108088</guid>
      <dc:creator>josaalsu</dc:creator>
      <dc:date>2021-04-26T16:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340013#M108089</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You need to set the value to context variable first before you execute the SQL statement, otherwise, the context value will always be null.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 05:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340013#M108089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-27T05:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340014#M108090</link>
      <description>&lt;P&gt;Thanks Sabrina.&lt;/P&gt;&lt;P&gt;A question. Is it not possible to directly collect the value from the iteration of the tFileInputRow and assign it to the Query of the tDbInput, without having to go through the context?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 06:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340014#M108090</guid>
      <dc:creator>josaalsu</dc:creator>
      <dc:date>2021-04-27T06:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340015#M108091</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;TFileInputFullRow_1 --&amp;gt;main--&amp;gt; tFlowtoIterate --&amp;gt; iterate --&amp;gt; empty tJava --&amp;gt; on component ok --&amp;gt; tDbinput&lt;/P&gt;&lt;P&gt;In the Outline view you can see all the globalVar created by the tFlowtoIterate. And you can paste them in the query of your tDbinput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so instead of a TFileInputFullRow you can now use TFileInputDelimited.&lt;/P&gt;&lt;P&gt;Send me LOve and Kudos&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340015#M108091</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-27T09:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340016#M108092</link>
      <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp;many thanks.&lt;/P&gt;&lt;P&gt;With what you have proposed to me, it no longer fails, which was the objective to be able to see the operation and the interaction with the different databases.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaV4lAAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150461i7A554E3CB99BC53D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaV4lAAF.jpg" alt="0695b00000EaV4lAAF.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to be able to get the following model to work, which would not be necessary to go through temporary files to retrieve the SQL statements, but it is so that it is understood that we would like to test.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EaV4vAAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129199iDAE2D8D2AFB84703/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EaV4vAAF.jpg" alt="0695b00000EaV4vAAF.jpg" /&gt;&lt;/span&gt;In this case, from tDBDP_1, it returns different querys statements that retrieve data from different tables, and that the results of each of the SQL statements retrieved and executed in tDBINPUT_1, for each one of them, a JSON file must be generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think this is the best model to make, to obtain the commented results?&lt;/P&gt;&lt;P&gt;Thanks in advance. I send you love &amp;amp; kudos&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340016#M108092</guid>
      <dc:creator>josaalsu</dc:creator>
      <dc:date>2021-04-27T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340017#M108093</link>
      <description>&lt;P&gt;don't use file :&lt;/P&gt;&lt;P&gt;tDSBP_1 --&amp;gt; main--&amp;gt; tFlowtoiterate --&amp;gt; iterate --&amp;gt; empty tJava --&amp;gt; on component Ok --&amp;gt; tDbinput_2 with the globalVar (set with the tFlowtoIterate  in the query (like (String)globalMap.get("row2.csql")).&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340017#M108093</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-27T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340018#M108094</link>
      <description>&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;P&gt;I have used the File to verify that it was actually recovering data.&lt;/P&gt;&lt;P&gt;The point is that when executing tDBInput_2, as the map varies in each SQL statement, it does not return data and the object tDBInput_2 returns blanks and not the values of the executions.&lt;/P&gt;&lt;P&gt;Is there a way to be able to make different queries and that in each one to be able to write a JSON?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340018#M108094</guid>
      <dc:creator>josaalsu</dc:creator>
      <dc:date>2021-04-27T12:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340019#M108095</link>
      <description>&lt;P&gt;If you have a talend studio (not open studio), you can use Dynamics schema, and extract data in common of all your table ,then write it to a json.&lt;/P&gt;&lt;P&gt;if each table have differents values it will be very hard to manage.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340019#M108095</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-27T13:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can not retrieve querys tDBInput object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340020#M108096</link>
      <description>&lt;P&gt;Hi. @guenneguez jeremy​&amp;nbsp;Thanks for your feedback&lt;/P&gt;&lt;P&gt;We are testing different tools to see which one really solves our needs.&lt;/P&gt;&lt;P&gt;We only have Talend open studio. I understand that the other is a paid version, I do not know if it has a trial that is operational even if it is only for 1 day to be able to check what we need to do, since the rest of the things that we require we have seen that it does.&lt;/P&gt;&lt;P&gt;Another thing we would like to know is whether it is possible to assign the map by, for example, reading a file.&lt;/P&gt;&lt;P&gt;Thanks in advance. BR.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 06:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-not-retrieve-querys-tDBInput-object/m-p/2340020#M108096</guid>
      <dc:creator>josaalsu</dc:creator>
      <dc:date>2021-04-28T06:28:13Z</dc:date>
    </item>
  </channel>
</rss>

