<?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] Input File not Found - tPostgresqlBulkExec in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307169#M78624</link>
    <description>Hi&lt;BR /&gt;You'd better create job like this.&lt;BR /&gt;tpostgresqlinput -- tpostgresqloutputbulk&lt;BR /&gt;                                       |&lt;BR /&gt;                                       |------------------tpostgresqlbulkexec&lt;BR /&gt;                                       |&lt;BR /&gt;                                       |----------------- tfileInputDelimited -- tpostgresqlOutput&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Fri, 03 Feb 2012 04:20:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-03T04:20:27Z</dc:date>
    <item>
      <title>[resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307167#M78622</link>
      <description>Any suggestions about any part of the job(s) is much appreciated! (screenshots attached)&lt;BR /&gt;Job&lt;BR /&gt;tpostgresqlinput -- tpostgresqloutputbulk -- tpostgresqlbulkexec&lt;BR /&gt;                                       |&lt;BR /&gt;                                       |----------------- tfileInputDelimited -- tpostgresqlOutput&lt;BR /&gt;Flow&lt;BR /&gt;read all rows from table and pass to outputbulk which creates a delimited file which is input to tpostgresbulkexec.&lt;BR /&gt;The file is created successfully, but tpostgresbulkexec throws error: &lt;BR /&gt;Exception in component tPostgresqlBulkExec_1&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: could not open file "D:/sandbox/projects/ETL/wjb_dw/stage1/holiday.txt" for reading: No such file or directory&lt;BR /&gt;The second set of components in job employ a tfileinputdelimited to read this delimited file and truncate/insert to the same table the bulk exec is targeting. It has no problem reading the file and inserting to the table.&lt;BR /&gt;I may be misunderstanding the use/intent of the outputBulk and bulkExec components.. ?&lt;BR /&gt;Thanks in advance..&lt;BR /&gt;Mark</description>
      <pubDate>Sat, 16 Nov 2024 12:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307167#M78622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307168#M78623</link>
      <description>I uploaded 5 PDF files but it doesn't look like they made it.. 
&lt;BR /&gt;I'll convert them to jpeg and try again.. sorry about the delay.. 
&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 02 Feb 2012 21:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307168#M78623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-02T21:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307169#M78624</link>
      <description>Hi&lt;BR /&gt;You'd better create job like this.&lt;BR /&gt;tpostgresqlinput -- tpostgresqloutputbulk&lt;BR /&gt;                                       |&lt;BR /&gt;                                       |------------------tpostgresqlbulkexec&lt;BR /&gt;                                       |&lt;BR /&gt;                                       |----------------- tfileInputDelimited -- tpostgresqlOutput&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 03 Feb 2012 04:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307169#M78624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T04:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307170#M78625</link>
      <description>Hi Pedro, 
&lt;BR /&gt;I'll give that a go and see if it changes whether the final bulk component sees the file created in the previous step.. 
&lt;BR /&gt;Note that the tfileInputDelimited -- tpostgresqlOutput is only there to prove the input file to the final BULK component really is available. I would not likely use a component that is insert oriented as it's too inefficient for the number of rows in the restore file.. 
&lt;BR /&gt;I'd really like to understand why the BULK components don't load the data! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9xp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153774i2D37DB4356C217DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9xp.png" alt="0683p000009M9xp.png" /&gt;&lt;/span&gt;) 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Mark 
&lt;BR /&gt;UPDATE: 
&lt;BR /&gt;Hi Pedro..the suggested connection change(s) made no difference.. the BULK component still cannot see the file. I assume that you may have been giving me a best practice rather than a solution to my problem, which I appreciate, but without an explanation, it's unclear why I would make that change. yet, I appreciate your time! 
&lt;BR /&gt;Thanks again.. 
&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 03 Feb 2012 12:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307170#M78625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T12:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307171#M78626</link>
      <description>Ok.. so I've changed the approach. Rather than use the 2 components (tPostgresqlOutputBulk, tPostgresqlBuldExec), I've built another job using 1 component (tPostgresqlOutputBulkExec. The docs indicate that if there's no need for transformation (ie, tMap) of the input data prior to load, then use the single component.&lt;BR /&gt;The job now looks like this:&lt;BR /&gt;tPostgresInput -- tPostgresqlOutputBulkExec&lt;BR /&gt;tPostgresInput retrieves 50 rows, which is what I expect.&lt;BR /&gt;tPostgresOutputBuldExec creates the file in "D:/Talend-4.2.3/studio/Talend-All-r67267-V4.2.3/workspace/holiday.txt" and the data is what I expect.&lt;BR /&gt;..but throws this error:&lt;BR /&gt;Exception in component tPostgresqlOutputBulkExec_1_tPBE&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: could not open file "D:/Talend-4.2.3/studio/Talend-All-r67267-V4.2.3/workspace/holiday.txt" for reading: No such file or directory&lt;BR /&gt;	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)&lt;BR /&gt;	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)&lt;BR /&gt;	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)&lt;BR /&gt;	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)&lt;BR /&gt;	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)&lt;BR /&gt;	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:328)&lt;BR /&gt;	at sandbox_marksutfin_project.bi_holidays_0_2.bi_holidays.tPostgresqlInput_1Process(bi_holidays.java:1059)&lt;BR /&gt;	at sandbox_marksutfin_project.bi_holidays_0_2.bi_holidays.runJobInTOS(bi_holidays.java:3873)&lt;BR /&gt;	at sandbox_marksutfin_project.bi_holidays_0_2.bi_holidays.main(bi_holidays.java:3649)&lt;BR /&gt;How can the same component that creates the file not be able to see it to open / read it?&lt;BR /&gt;What am I missing?&lt;BR /&gt;Thanks&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 03 Feb 2012 13:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307171#M78626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307172#M78627</link>
      <description>Found this posted in a message from 2009... 
&lt;BR /&gt;"Files named in a COPY command are read or written directly by the server, not by the client application. Therefore, they must reside on or be accessible to the database server machine, not the client. They must be accessible to and readable or writable by the PostgreSQL user (the user ID the server runs as), not the client. COPY naming a file is only allowed to database superusers, since it allows reading or writing any file that the server has privileges to access. " 
&lt;BR /&gt;So to recap if you want to carry out a bulkexec on a remote database you must copy the file to the server hosting that database and then in the bulkexec component for the filename you must provide the path to the file as it appears on the server.</description>
      <pubDate>Fri, 03 Feb 2012 17:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307172#M78627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input File not Found - tPostgresqlBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307173#M78628</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Found this posted in a message from 2009...&lt;BR /&gt;"Files named in a COPY command are read or written directly by the server, not by the client application. Therefore, they must reside on or be accessible to the database server machine, not the client. They must be accessible to and readable or writable by the PostgreSQL user (the user ID the server runs as), not the client. COPY naming a file is only allowed to database superusers, since it allows reading or writing any file that the server has privileges to access. "&lt;BR /&gt;So to recap if you want to carry out a bulkexec on a remote database you must copy the file to the server hosting that database and then in the bulkexec component for the filename you must provide the path to the file as it appears on the server.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks .</description>
      <pubDate>Wed, 20 Jan 2016 10:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-File-not-Found-tPostgresqlBulkExec/m-p/2307173#M78628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T10:42:39Z</dc:date>
    </item>
  </channel>
</rss>

