<?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: Error while loading data from csv to postgres using dynamic schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336301#M104761</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;For the purpose of testing, are you able to get all your output files by using tfileoutputdelimited component?&lt;/P&gt;
&lt;P&gt;The work flow looks like:tfilelist--&amp;gt;tfileinputdelimited--&amp;gt;tfileoutputdelimited(Append option checked).&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 09:40:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-10T09:40:14Z</dc:date>
    <item>
      <title>Error while loading data from csv to postgres using dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336300#M104760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I have a requirement to load multiple csv files to different tables in a database. Since the CSVs are dynamic the schema also should be dynamic. I have a Talend licensed version and using dynamic schema. My work flow is like:&lt;/P&gt;
&lt;P&gt;tFileList----&amp;gt;tFileInputFlowDelemited--&amp;gt;tMap--&amp;gt;tPostgresqlOutput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The schema&amp;nbsp;i defined is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id : String&lt;/P&gt;
&lt;P&gt;others: dynamic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error I am getting at the time of postgres insert is&lt;/P&gt;
&lt;P&gt;[ERROR]: local_project.s3_loader_0_1.S3_Loader - tPostgresqlOutput_1 - Batch entry 0 INSERT INTO "public"."S3-Loader-Test" ("id"&lt;EM&gt;&lt;STRONG&gt;, )&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;VALUES (576,Test,41:02.4,TRUE,, ) was aborted. Call getNextException to see the cause.&lt;BR /&gt;caused by: ERROR: syntax error at or near ")"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not considering and splitting dynamic field&amp;nbsp;"others" while inserting.&lt;/P&gt;
&lt;P&gt;Also if I define schem with only one dynamic column then it is considering the whole CSV row as single column and record and trying to insert.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could somebody correct me? or point me the right solution?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336300#M104760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data from csv to postgres using dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336301#M104761</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;For the purpose of testing, are you able to get all your output files by using tfileoutputdelimited component?&lt;/P&gt;
&lt;P&gt;The work flow looks like:tfilelist--&amp;gt;tfileinputdelimited--&amp;gt;tfileoutputdelimited(Append option checked).&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 09:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336301#M104761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-10T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data from csv to postgres using dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336302#M104762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp;I found the issue.&amp;nbsp;The issue was related to the field separator. Once corrected it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336302#M104762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-10T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data from csv to postgres using dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336303#M104763</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Great it is fixed. Thanks for posting your solution here.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 10:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-loading-data-from-csv-to-postgres-using-dynamic/m-p/2336303#M104763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-13T10:39:12Z</dc:date>
    </item>
  </channel>
</rss>

