<?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: Retrieve Schema from custom SQL query (Component tPostgresqlInput) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370429#M133469</link>
    <description>Hi, &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Everything looks fine, Job completes, but XLSX-file ist empty. Warning message says sth like "no schema given" and "schema is different from the query" in component tPostgresqlInput.&lt;BR /&gt;Klicking "guess schema" in component basic settings seems to make nothing.&lt;BR /&gt;Is it possible at all, to automatically retrieve the schema from a custom query?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;It is possible to automatically retrieve the schema from a custom query. Such as "Select * from table name", and then click the "guess schema" button in component basic settings.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Thu, 13 Jun 2013 03:06:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-13T03:06:36Z</dc:date>
    <item>
      <title>Retrieve Schema from custom SQL query (Component tPostgresqlInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370428#M133468</link>
      <description>Hi,
&lt;BR /&gt;I am using Talend Open Studio / Date Integration some time in order to read/write database tables. Now I have to read data through a custom SQL query from Postgres.
&lt;BR /&gt;Job Definition: tPostgresqlInput --&amp;gt; tFileOutputExcel
&lt;BR /&gt;Database Connection o.k.
&lt;BR /&gt;Job Run counts the exact number of rows.
&lt;BR /&gt;Everything looks fine, Job completes, but XLSX-file ist empty. Warning message says sth like "no schema given" and "schema is different from the query" in component tPostgresqlInput.
&lt;BR /&gt;Klicking "guess schema" in component basic settings seems to make nothing.
&lt;BR /&gt;Is it possible at all, to automatically retrieve the schema from a custom query?
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 12 Jun 2013 23:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370428#M133468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-12T23:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Schema from custom SQL query (Component tPostgresqlInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370429#M133469</link>
      <description>Hi, &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Everything looks fine, Job completes, but XLSX-file ist empty. Warning message says sth like "no schema given" and "schema is different from the query" in component tPostgresqlInput.&lt;BR /&gt;Klicking "guess schema" in component basic settings seems to make nothing.&lt;BR /&gt;Is it possible at all, to automatically retrieve the schema from a custom query?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;It is possible to automatically retrieve the schema from a custom query. Such as "Select * from table name", and then click the "guess schema" button in component basic settings.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 13 Jun 2013 03:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370429#M133469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-13T03:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Schema from custom SQL query (Component tPostgresqlInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370430#M133470</link>
      <description>Hi Sabrina,
&lt;BR /&gt;thank you for your reply. Is this solution valid for any type of query? I tried "guess schema" several times (in several configuration variations) - without succes. There shows up a dialog and disappears before I can read.
&lt;BR /&gt;By the way, my query is not a plain select from one table, but a complex statement with a dozen joins, aggregates, subqueries, resulting in about 200 columns.
&lt;BR /&gt;I configured Postgresql server 8.4 to log ALL queries and found out, that there is no query sent to Postgresql server when pressing "guess schema".
&lt;BR /&gt;Kind regards</description>
      <pubDate>Thu, 13 Jun 2013 18:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370430#M133470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-13T18:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Schema from custom SQL query (Component tPostgresqlInput)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370431#M133471</link>
      <description>Hi, 
&lt;BR /&gt;The button of "Guess Schema" can guess the column structure of table by sql query but not multiple SQL statement. 
&lt;BR /&gt;See the related forum 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqk1CAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/multiple-rows/td-p/110878&lt;/A&gt;. 
&lt;BR /&gt;You can use a simple query to check if the "guess schema" option works well? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 14 Jun 2013 07:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Schema-from-custom-SQL-query-Component-tPostgresqlInput/m-p/2370431#M133471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-14T07:33:45Z</dc:date>
    </item>
  </channel>
</rss>

