<?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: Export data from a SQL file to a postgresql database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257309#M39435</link>
    <description>I guess you mean with the word query also insert statements. 
&lt;BR /&gt;You can use the component tSQLScriptParser + tPostgresqlRow to do this job. 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/exchange/index.php?eid=724&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/index.php?eid=724&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1&lt;/A&gt; 
&lt;BR /&gt;tSQLScriptParser -- iterate --&amp;gt; tPostgresqlRow: use as SQL code only this: ((String) globalMap.get("tSQLScriptParser_1_STATEMENT_SQL")) 
&lt;BR /&gt;This component can read the script from a file or from the input field. 
&lt;BR /&gt;Please keep in mind, the component parse the whole script at once and keeps all statements in the memory. 
&lt;BR /&gt;If you have a dump, this could contains millions of insert statements. To avoid memory space problems I recommend splitting a huge dump file into smaller files with about 1000 statements per file. You should create a job processing one file and another job iterating through all files and calling the one-file-job.</description>
    <pubDate>Wed, 23 Oct 2013 17:37:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-23T17:37:56Z</dc:date>
    <item>
      <title>Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257308#M39434</link>
      <description>Hello,
&lt;BR /&gt;I have a problem ..
&lt;BR /&gt;I have got a SQL file wich contains some queries in order to insert data in a database (this file is obtained by a dump from phpMyAdmin). Those data come from MySQL database and I have to integrate them to my Postgresql database..
&lt;BR /&gt;I dont know which component I can use to do that : I have the "tposgresqlrow" but I don't know how to use it.
&lt;BR /&gt;I'm new in Talend, so if someone can help me ...
&lt;BR /&gt;Sorry for my English witch it would be very bad..
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 11:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257308#M39434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257309#M39435</link>
      <description>I guess you mean with the word query also insert statements. 
&lt;BR /&gt;You can use the component tSQLScriptParser + tPostgresqlRow to do this job. 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/exchange/index.php?eid=724&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/index.php?eid=724&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1&lt;/A&gt; 
&lt;BR /&gt;tSQLScriptParser -- iterate --&amp;gt; tPostgresqlRow: use as SQL code only this: ((String) globalMap.get("tSQLScriptParser_1_STATEMENT_SQL")) 
&lt;BR /&gt;This component can read the script from a file or from the input field. 
&lt;BR /&gt;Please keep in mind, the component parse the whole script at once and keeps all statements in the memory. 
&lt;BR /&gt;If you have a dump, this could contains millions of insert statements. To avoid memory space problems I recommend splitting a huge dump file into smaller files with about 1000 statements per file. You should create a job processing one file and another job iterating through all files and calling the one-file-job.</description>
      <pubDate>Wed, 23 Oct 2013 17:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257309#M39435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257310#M39436</link>
      <description>Thanks for the quick response!&lt;BR /&gt;But I don't have the component tSQLScriptParser in my Palette...&lt;BR /&gt;I'm working with Talend Open Studio for Data Integration version 5.3.1</description>
      <pubDate>Thu, 24 Oct 2013 08:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257310#M39436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257311#M39437</link>
      <description>Sorry I didn't have understand that the component tSQLScriptParser was a custom component.. 
&lt;BR /&gt;I install this component like it's described here: 
&lt;A href="https://help.talend.com/search/all?query=Installing+a+custom+component&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=Installing+a+custom+component&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;When I intent to use this component, I have an error : "Module cimt.talendcomp.dbtools-1.0.jar required" 
&lt;BR /&gt;So I follow the instructions in this page to install a custom component : 
&lt;A href="Installing a custom component" rel="nofollow noopener noreferrer"&gt;Installing a custom component&lt;/A&gt; : 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;If you get a missing jars error, when using the component in a Job, try the following procedure:&lt;BR /&gt; Install the component again (without uninstalling the component installed previously).&lt;BR /&gt; Delete the file &amp;lt;Talend Studio installation dir&amp;gt;\configuration\ComponentCache.javacache and restart Talend Studio.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;But I still have the same error message... 
&lt;BR /&gt;Someone has encountered the same problem for installing a custom component ?? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 24 Oct 2013 09:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257311#M39437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257312#M39438</link>
      <description>Finally I succeed to install the JARs file correctly using the Modules "View" and importing the jar file manually.. 
&lt;BR /&gt;I don't have the error message "Module cimt.talendcomp.dbtools-1.0.jar required" and when I run the job I have got the exit code 0. 
&lt;BR /&gt;Nevertheless, the job doesn't write in my database and I don't have error messages??? 
&lt;BR /&gt;I don't understand why...</description>
      <pubDate>Thu, 24 Oct 2013 12:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257312#M39438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257313#M39439</link>
      <description>Hello, 
&lt;BR /&gt;I don't have succeeded to use the tSQLScriptParser component.. 
&lt;BR /&gt;When I run my Job in Talend, Idon't have any error messages but any data is inserted in my database.. 
&lt;BR /&gt;You can see my Job and the result after running my job in the attachments.. 
&lt;BR /&gt;Thanks for the help.. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBTW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144929iDE713A929F29B757/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBTW.png" alt="0683p000009MBTW.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBXc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128549i7B06B81C2728D6D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBXc.png" alt="0683p000009MBXc.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 08 Nov 2013 13:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257313#M39439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-08T13:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257314#M39440</link>
      <description>Did you set in the Query of the tPostgresqlRow: ((String)globalMap.get("tSQLScriptParser_1_STATEMENT_SQL"))
&lt;BR /&gt;This return value contains the current statement.
&lt;BR /&gt;Please check if the tSQLScriptParser has the number 1, otherwise you have to change the number in the term above.
&lt;BR /&gt;((String)globalMap.get("tSQLScriptParser_2_STATEMENT_SQL"))
&lt;BR /&gt;The best way is to drag &amp;amp; drop this return value from the Outline view (open the node of the parser component)</description>
      <pubDate>Sat, 09 Nov 2013 16:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257314#M39440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T16:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from a SQL file to a postgresql database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257315#M39441</link>
      <description>Hello&lt;BR /&gt;Do you know if it's possible to use this compenent and set some DBMS_MVIEW.REFRESH requests ?&lt;BR /&gt;I'd like to use script to refresh automatically some materialized views.&lt;BR /&gt;I tried also to use DROP VIEW and CREATE MATERIALIZED VIEW commands (with EXECUTE IMMEDIATE prefix) but it fails too...&lt;BR /&gt;Any idea on how to do this ?&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 23 Jan 2014 17:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-data-from-a-SQL-file-to-a-postgresql-database/m-p/2257315#M39441</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-01-23T17:06:56Z</dc:date>
    </item>
  </channel>
</rss>

