<?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 Error While loading data in uuid column in postgresql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-While-loading-data-in-uuid-column-in-postgresql/m-p/2230256#M20947</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am getting below error while loading data in uuid column in postgresql,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Batch entry 0 INSERT INTO "community" ("occupation_company","occupation_description") VALUES (,,) was aborted. &amp;nbsp;Call getNextException to see the cause.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;caused by: ERROR: invalid input syntax for type uuid: ""&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note: The column&amp;nbsp;&lt;STRONG&gt;occupation_company&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;occupation_description&amp;nbsp;&lt;/STRONG&gt;is read as &lt;STRONG&gt;Object data type&lt;/STRONG&gt; in talend and is &lt;STRONG&gt;uuid data type&lt;/STRONG&gt; in DB&lt;/P&gt;&lt;P&gt;can anyone please let me know how to handle the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:44:03 GMT</pubDate>
    <dc:creator>vidya821</dc:creator>
    <dc:date>2024-11-16T03:44:03Z</dc:date>
    <item>
      <title>Error While loading data in uuid column in postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-While-loading-data-in-uuid-column-in-postgresql/m-p/2230256#M20947</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am getting below error while loading data in uuid column in postgresql,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Batch entry 0 INSERT INTO "community" ("occupation_company","occupation_description") VALUES (,,) was aborted. &amp;nbsp;Call getNextException to see the cause.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;caused by: ERROR: invalid input syntax for type uuid: ""&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note: The column&amp;nbsp;&lt;STRONG&gt;occupation_company&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;occupation_description&amp;nbsp;&lt;/STRONG&gt;is read as &lt;STRONG&gt;Object data type&lt;/STRONG&gt; in talend and is &lt;STRONG&gt;uuid data type&lt;/STRONG&gt; in DB&lt;/P&gt;&lt;P&gt;can anyone please let me know how to handle the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-While-loading-data-in-uuid-column-in-postgresql/m-p/2230256#M20947</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2024-11-16T03:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error While loading data in uuid column in postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-While-loading-data-in-uuid-column-in-postgresql/m-p/2230257#M20948</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The input schema value (Object or String) is not of UUID type?&lt;/P&gt;
&lt;P&gt;Have you tried to use tMap to do the conversion to see if it works?&lt;/P&gt;
&lt;P&gt;The input value should be converted into UUID type using functions such as java.util.UUID.fromString(...) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;FONT color="#0000FF"&gt;java.util.UUID.fromString(row1.&lt;EM&gt;myInputColumn&lt;/EM&gt;)&lt;/FONT&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if InputColumn schema is already of type String&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;FONT color="#0000FF"&gt;java.util.UUID.fromString(row1.&lt;EM&gt;myInputColumn&lt;/EM&gt;.toString())&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if InputColumn schema is of type Object&lt;/P&gt;
&lt;P&gt;Let us know if it works.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 09:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-While-loading-data-in-uuid-column-in-postgresql/m-p/2230257#M20948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-07T09:13:23Z</dc:date>
    </item>
  </channel>
</rss>

