<?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: How get table name in tmysqlinput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260555#M41659</link>
    <description>Yes</description>
    <pubDate>Wed, 19 Feb 2014 15:51:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-19T15:51:55Z</dc:date>
    <item>
      <title>How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260551#M41655</link>
      <description>Hello,&lt;BR /&gt;I have a problem for retrieve a name of table in a tmysqlinput.&lt;BR /&gt;I try :&lt;BR /&gt;context.table = globalMap.get("tMysqlInput_3" + "_TABLE_NAME");&lt;BR /&gt;But context.table is null.&lt;BR /&gt;Have you an idea ?&lt;BR /&gt;Thank</description>
      <pubDate>Tue, 18 Feb 2014 15:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260551#M41655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-18T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260552#M41656</link>
      <description>The table name from the attribute does not matter. The only name what is real in use is the name of the table in the query. The query can be retrieved with:&lt;BR /&gt;&lt;PRE&gt;context.query = (String) globalMap.get("tMysqlInput_1_QUERY");&lt;/PRE&gt;&lt;BR /&gt;I suggest you put the table at first in a context variable and use this var in your query. &lt;BR /&gt;The attribute TABLE you want to get is only in use for such things like Guess Query function.</description>
      <pubDate>Tue, 18 Feb 2014 20:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260552#M41656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-18T20:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260553#M41657</link>
      <description>Thank for answer,&lt;BR /&gt;However that doesn't work, the context.query is null..&lt;BR /&gt;I don't understand...</description>
      <pubDate>Wed, 19 Feb 2014 09:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260553#M41657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T09:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260554#M41658</link>
      <description>Did you change it to context.query = (String) globalMap.get("tMysqlInput_3_QUERY"); which seems to be your case?</description>
      <pubDate>Wed, 19 Feb 2014 09:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260554#M41658</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2014-02-19T09:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260555#M41659</link>
      <description>Yes</description>
      <pubDate>Wed, 19 Feb 2014 15:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260555#M41659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T15:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260556#M41660</link>
      <description>I have try with other jobs but the var it's always null</description>
      <pubDate>Wed, 19 Feb 2014 16:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260556#M41660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260557#M41661</link>
      <description>Open your job and take a look at the source code. You will find a put to the global map with the query. &lt;BR /&gt;When do you read out the query? This query is - per definition - available at the end of the flow, meaning you should get the query from the globalmap in a next subjob e.g. with a tJava.</description>
      <pubDate>Wed, 19 Feb 2014 16:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260557#M41661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T16:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How get table name in tmysqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260558#M41662</link>
      <description>Thank for the answer, 
&lt;BR /&gt;It's work ! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If i understand, i can retrieve the table name after execution ? 
&lt;BR /&gt;If it's that, it's a bad new, because i require the table name before execution of query. In fact i check the status of table, if it's good i launch the query, if not good exit. 
&lt;BR /&gt;is it possible to retrieve the table name at the beginning?</description>
      <pubDate>Thu, 20 Feb 2014 09:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-get-table-name-in-tmysqlinput/m-p/2260558#M41662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T09:40:38Z</dc:date>
    </item>
  </channel>
</rss>

