<?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: problem with date format and tPostgresqlInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227873#M19322</link>
    <description>Excuse me, I don't know how insert pictures in a reply so I can't show you my job ! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Could you explain me, please ? 
&lt;BR /&gt;Caro</description>
    <pubDate>Tue, 06 May 2008 09:13:52 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2008-05-06T09:13:52Z</dc:date>
    <item>
      <title>problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227871#M19320</link>
      <description>Hi, 
&lt;BR /&gt;I have a problem with date format and tPostgresqlInput. In fact, I read some date in a Postgresql table and I have this error : 
&lt;BR /&gt;Exception in component tPostgresqlInput_1 
&lt;BR /&gt;org.postgresql.util.PSQLException: Mauvaise valeur pour le type timestamp : [C@32fb4f 
&lt;BR /&gt; at org.postgresql.jdbc2.TimestampUtils.loadCalendar(TimestampUtils.java:232) 
&lt;BR /&gt; at org.postgresql.jdbc2.TimestampUtils.toTimestamp(TimestampUtils.java:307) 
&lt;BR /&gt; at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2ResultSet.java:419) 
&lt;BR /&gt; at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2ResultSet.java:2088) 
&lt;BR /&gt; at test_compare_clover.test3.test3.tPostgresqlInput_1Process(test3.java:672) 
&lt;BR /&gt; at test_compare_clover.test3.test3.runJobInTOS(test3.java:1617) 
&lt;BR /&gt; at test_compare_clover.test3.test3.main(test3.java:1494) 
&lt;BR /&gt;Caused by: java.lang.NumberFormatException: Trailing junk on timestamp: '' 
&lt;BR /&gt; at org.postgresql.jdbc2.TimestampUtils.loadCalendar(TimestampUtils.java:226) 
&lt;BR /&gt; ... 6 more 
&lt;BR /&gt; 
&lt;BR /&gt;In Postgresql, it seems than date before Marh 1911 have this format : 1844-12-03 12:14:51 + 00:09:21 and the component tPostgresqlInput of TOS doesn't read this format of date. 
&lt;BR /&gt;So I think there is a bug in the component tPostgresqlInput about timestamp type. 
&lt;BR /&gt;Caro</description>
      <pubDate>Sat, 16 Nov 2024 14:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227871#M19320</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227872#M19321</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;In Postgresql, it seems than date before Marh 1911 have this format : 1844-12-03 12:14:51 + 00:09:21 and the component tPostgresqlInput of TOS doesn't read this format of date.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;How do you set the date pattern for this format? Can you show more detailed information? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 06 May 2008 07:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227872#M19321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-06T07:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227873#M19322</link>
      <description>Excuse me, I don't know how insert pictures in a reply so I can't show you my job ! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Could you explain me, please ? 
&lt;BR /&gt;Caro</description>
      <pubDate>Tue, 06 May 2008 09:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227873#M19322</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-05-06T09:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227874#M19323</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Excuse me, I don't know how insert pictures in a reply so I can't show you my job ! &lt;BR /&gt;Could you explain me, please ?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Before you upload a screenshot, you must register a member account. Capture your screenhost on your local machine, then upload it. See this 831. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 06 May 2008 09:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227874#M19323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-06T09:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227875#M19324</link>
      <description>Thanks for your answer. 
&lt;BR /&gt;I realised a simple test : read data with tPostegresqlInput and write it in a delimited file. 
&lt;BR /&gt;The second picture is an exemple of my read data. I have 2 fields : beginning date and ending date (Timestamp format) 
&lt;BR /&gt;Then, there is a picture representing my job and the error message. 
&lt;BR /&gt;Postgresql uses these 2 formats because there was a law in March 1911 in France to use universal time. Before that, used time was Paris time + 9 minutes and 21 seconds (see the first picture). So I don't know if we use Postegresql in another country, these formats are same! 
&lt;BR /&gt;After, I tried to read data with "where bgdate&amp;gt; '01/04/1911' and enddate &amp;gt; '01/04/1911' " and the job works fine. So I think the component tPosgresqlInput is not prepared to the format "00:00:00 + 00:09:21" but works fine with "00:00:00 +01". 
&lt;BR /&gt;Caro 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC2N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137130i18434C4D446661AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC2N.png" alt="0683p000009MC2N.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBtk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150893i612898DFC51F0E04/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBtk.png" alt="0683p000009MBtk.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC97.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128012iC8232A1DD77361E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC97.png" alt="0683p000009MC97.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 06 May 2008 09:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227875#M19324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-06T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem with date format and tPostgresqlInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227876#M19325</link>
      <description>I tried to read my data with a tJDBCInput and it works. So it is not a solution for the component tPostgresqlIput but a bypass !&lt;BR /&gt;Caro</description>
      <pubDate>Wed, 07 May 2008 10:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-date-format-and-tPostgresqlInput/m-p/2227876#M19325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-07T10:58:04Z</dc:date>
    </item>
  </channel>
</rss>

