<?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: Implicit context loading - Retrieving schema from table - valued function in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322813#M92725</link>
    <description>&lt;P&gt;Export your connection parameters (the actual values) as context groups. You can do this within the connection configuration for your metadata. This will create a context group for that database. The context group will have your values hard coded. However, this does not matter since the implicit context load will overwrite any context variables for which values are returned.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 11:22:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-09T11:22:42Z</dc:date>
    <item>
      <title>Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322811#M92723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a job as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tmssqlinput --&amp;gt; tmap --&amp;gt; tmysqloutput&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;tmssqlinput&lt;/STRONG&gt; has a schema coming from a query such as "&lt;STRONG&gt;select * from etl.loadwfunction(1)&lt;/STRONG&gt;". &lt;STRONG&gt;etl.loadwfunction(1)&lt;/STRONG&gt; is a table valued function, which has complex query and return many derived columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the schema retrieval was not a problem when I was using the connection details that were hard coded in the context group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I am planning to use implicit context loading at the project level. With this in place, and the connection details retrieved only during run time, how will I be able to retrieve the schema of the function in the &lt;STRONG&gt;tmssqlcomponent&lt;/STRONG&gt;. The "&lt;STRONG&gt;Guess Schema&lt;/STRONG&gt;" would not work as there are no connection details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I can retrieve schemas for all tables and store them as metadata. But, how do I do it when there is a requirement as above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;BR /&gt;Rathi&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 10:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322811#M92723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322812#M92724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;You should retrieve the schema(s) using a specific job for which the connection parameters are issued from context variables or hard coded.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then you can promote the shema(s) to the repository and reuse it (them) anywhere.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 10:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322812#M92724</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-11-09T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322813#M92725</link>
      <description>&lt;P&gt;Export your connection parameters (the actual values) as context groups. You can do this within the connection configuration for your metadata. This will create a context group for that database. The context group will have your values hard coded. However, this does not matter since the implicit context load will overwrite any context variables for which values are returned.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 11:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322813#M92725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322814#M92726</link>
      <description>&lt;P&gt;So, is it like I must first configure tmssqlcomponent to take the connection from hardcoded context group, retrieve the schema and then later remove the reference from hard coded context to implicit context connection details?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 11:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322814#M92726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T11:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322815#M92727</link>
      <description>&lt;P&gt;You shouldn't consider Contexts hardcoded unless you are not supplying a mechanism for them to be changed. Contexts are simply boxes for values. A lot of people do hardcode these values, but they are built to be able to handle being hardcoded and dynamically set. If you supply values to your Context Group contexts at design time, those will be the values that are used when importing schemas, for example. You do not need to remove these if you do not want to if you are using the implicit context load at runtime.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If the following contexts have the following set of values at design time....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;context1 = "Hello"&lt;/P&gt; 
&lt;P&gt;context2 = "World"&lt;/P&gt; 
&lt;P&gt;context3 = ":-)"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;.....if your implicit context load supplies new values for context1 ("Hey") and context2 ("Friend"), at runtime the values will be....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;context1 = "Hey"&lt;/P&gt; 
&lt;P&gt;context2 = "Friend"&lt;/P&gt; 
&lt;P&gt;context3 = ":-)"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Context1 and Context2 changed, but Context3 remained with the value set at design time.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 11:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322815#M92727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T11:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322816#M92728</link>
      <description>&lt;P&gt;Did this answer your question?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 09:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322816#M92728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-10T09:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322817#M92729</link>
      <description>&lt;P&gt;Hi rhall_2_0,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Apologies for the delayed response.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am testing your solution for a job that has many jobs within. So, will take a little more time to test all the scenarios.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Will update the results soon as I finish testing all scenarios&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Rathi&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 07:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322817#M92729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-14T07:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit context loading - Retrieving schema from table - valued function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322818#M92730</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi rhall_2_0,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Apologies for such a delayed response. Your solution worked beautifully. Thanks a lot !!!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Rathi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 12:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implicit-context-loading-Retrieving-schema-from-table-valued/m-p/2322818#M92730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T12:51:43Z</dc:date>
    </item>
  </channel>
</rss>

