<?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] 'Guess Query' button returning empty queries in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Guess-Query-button-returning-empty-queries/m-p/2363689#M127532</link>
    <description>Hi, 
&lt;BR /&gt;The "Guess Query" button will generate a SELECT based on the schema you defined for the component and the "Guess Schema" will generate a schema based on your own query. 
&lt;BR /&gt;As a lazy, you may: 
&lt;BR /&gt;- write a "SELECT * FROM YourTable" in the query field 
&lt;BR /&gt;- use "Guess Schema" to retrieve the schema relative to the table 
&lt;BR /&gt;- modify the schema definition (essentially by removing undesired fields") or not if you have to deal with all the table columns 
&lt;BR /&gt;- use "Guess Query" to generate a detailed SELECT where all the columns associated to schema fields are mentionned explicitly. 
&lt;BR /&gt;The you can change the query, using tranformation function as soon as your respect the schema definition. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;TRF</description>
    <pubDate>Sun, 07 Aug 2016 10:52:46 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2016-08-07T10:52:46Z</dc:date>
    <item>
      <title>[resolved] 'Guess Query' button returning empty queries</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Guess-Query-button-returning-empty-queries/m-p/2363688#M127531</link>
      <description>Hello, 
&lt;BR /&gt;I'm currently using talend for training purposes and I've hit on a slight problem. 
&lt;BR /&gt;I created a mysql local database for use with talend, and have been able to use talend to create tables and insert data into those tables. 
&lt;BR /&gt;But when I tried to use talend to get data from those tables I found that the 'Guess Query' button isn't working as expected. 
&lt;BR /&gt;I created a tMysqlInput, configured the connection, selected the table it will fetch information from, and then I tried to use the 'Guess Query' button, my query became "". No matter what table I chosse, all of the queries become "" if I use 'Guess Query'. 
&lt;BR /&gt;Writing the queries myself isn't that much of a bother, but I just want to know why this functionality isn't working as I expected. 
&lt;BR /&gt;Best Regards, 
&lt;BR /&gt;Tiago Vieira 
&lt;BR /&gt;EDIT: I seem to have spoken too soon. The problem was that I forgot to select the schema.</description>
      <pubDate>Fri, 05 Aug 2016 17:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Guess-Query-button-returning-empty-queries/m-p/2363688#M127531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-05T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] 'Guess Query' button returning empty queries</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Guess-Query-button-returning-empty-queries/m-p/2363689#M127532</link>
      <description>Hi, 
&lt;BR /&gt;The "Guess Query" button will generate a SELECT based on the schema you defined for the component and the "Guess Schema" will generate a schema based on your own query. 
&lt;BR /&gt;As a lazy, you may: 
&lt;BR /&gt;- write a "SELECT * FROM YourTable" in the query field 
&lt;BR /&gt;- use "Guess Schema" to retrieve the schema relative to the table 
&lt;BR /&gt;- modify the schema definition (essentially by removing undesired fields") or not if you have to deal with all the table columns 
&lt;BR /&gt;- use "Guess Query" to generate a detailed SELECT where all the columns associated to schema fields are mentionned explicitly. 
&lt;BR /&gt;The you can change the query, using tranformation function as soon as your respect the schema definition. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;TRF</description>
      <pubDate>Sun, 07 Aug 2016 10:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Guess-Query-button-returning-empty-queries/m-p/2363689#M127532</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-08-07T10:52:46Z</dc:date>
    </item>
  </channel>
</rss>

