<?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 Insert Object in Postgres from Cassandra in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282901#M56954</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to insert date in Postgres from a Cassandra's table. In particular, I have two column defined as:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;type&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;bject&lt;/P&gt; 
&lt;P&gt;db_type:set&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the corresponding column I have created in Postgres are defined as json []. This is an example of the column in Postgres:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="map.png" style="width: 678px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0EV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156537iDB7CA8F9BC94390C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0EV.png" alt="0683p000009M0EV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I got the following error:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3eaddd5f-653e-4b17-bb1a-bc455614f170|||||||||||{carddatainputcapability:NULL,cardholderauthenticationcapability:NULL,cardcapturecapability:NULL,operatingenvironment:NULL,cardholderpresent:NULL,cardpresent:NULL,carddatainputmode:NULL,cardholderauthenticationmethod:NULL,cardholderauthenticationentry:NULL,carddataoutputcapability:NULL,terminaloutputcapability:NULL,pincapturecapability:NULL}|||||||||||690|zero|||Sat Jan 01 01:00:00 CET 2000|||Tue May 29 01:52:08 CEST 2018|02008|698|85528164|1644||690|||Tue May 29 01:52:08 CEST 2018|263873|9|0|0|115152220|5925|42185|3||||||||||501|85538348|1520|180529|180529|978|2|00068|||681|Tue May 29 01:52:08 CEST 2018|00068||LUF|02008|24945|697|85528163|1644|80199|434|PSB||||02008|695||1644|00068||3|MCC|MAST|1|N||380|00000009086|D||SUR|P|MPR|D||[{generaladdendumlist:{},microchip:NULL,freetext:NULL,additionalpermerchant:NULL,telephonecompany:NULL,passengertransportaddendumlist:{},merchantinformation:{messagetypeidentifier:'1644',functioncode:'696',messagenumber:'53331800',formatcode:'A2',forwardingreferencedata:'705023 000000',cardacceptorbusinesscode:5411,name:'PROVE POS',street:'VIA ROSSI 2',city:'VERONA',postalcode:'37132',region:'VR',countrycode:'ITA'},lodgingaddendumlist:{},carrentaladdendumlist:{},moneytransfer:NULL,fleetlist:{},purchasinglist:{},dccaddendum:NULL}]|||0|0|0|649318||0|||||||0||3027305|||30309909|0||1||6||0||Tue Aug 01 00:00:00 CEST 2023|0||0||0|2||0||000|||||R|||||||||||181490000000515|200||||0|||85528690|1240||||||9||00000|000||1||||A|5333179998705023|||0|||180516092507157|00|148000584007|P|||0||ZERO|0|||6990|||000000000000000|Mon May 28 11:00:46 CEST 2018|0|0|0||01||&lt;BR /&gt;&lt;STRONG&gt;Exception in component tDBOutput_9 (subOpenConn)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;org.postgresql.util.PSQLException: Can't infer the SQL type to use for an instance of com.datastax.driver.core.UDTValue. Use setObject() with an explicit Types value to specify the type to use.&lt;/STRONG&gt;&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statement.java:1740)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.tCassandraInput_1Process(subOpenConn.java:13580)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.runJobInTOS(subOpenConn.java:15656)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.main(subOpenConn.java:15505)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I insert the two object columns in Postgres?&lt;/P&gt; 
&lt;P&gt;Does anyone could help me?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:39:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:39:57Z</dc:date>
    <item>
      <title>Insert Object in Postgres from Cassandra</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282901#M56954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to insert date in Postgres from a Cassandra's table. In particular, I have two column defined as:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;type&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;bject&lt;/P&gt; 
&lt;P&gt;db_type:set&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the corresponding column I have created in Postgres are defined as json []. This is an example of the column in Postgres:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="map.png" style="width: 678px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0EV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156537iDB7CA8F9BC94390C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0EV.png" alt="0683p000009M0EV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I got the following error:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3eaddd5f-653e-4b17-bb1a-bc455614f170|||||||||||{carddatainputcapability:NULL,cardholderauthenticationcapability:NULL,cardcapturecapability:NULL,operatingenvironment:NULL,cardholderpresent:NULL,cardpresent:NULL,carddatainputmode:NULL,cardholderauthenticationmethod:NULL,cardholderauthenticationentry:NULL,carddataoutputcapability:NULL,terminaloutputcapability:NULL,pincapturecapability:NULL}|||||||||||690|zero|||Sat Jan 01 01:00:00 CET 2000|||Tue May 29 01:52:08 CEST 2018|02008|698|85528164|1644||690|||Tue May 29 01:52:08 CEST 2018|263873|9|0|0|115152220|5925|42185|3||||||||||501|85538348|1520|180529|180529|978|2|00068|||681|Tue May 29 01:52:08 CEST 2018|00068||LUF|02008|24945|697|85528163|1644|80199|434|PSB||||02008|695||1644|00068||3|MCC|MAST|1|N||380|00000009086|D||SUR|P|MPR|D||[{generaladdendumlist:{},microchip:NULL,freetext:NULL,additionalpermerchant:NULL,telephonecompany:NULL,passengertransportaddendumlist:{},merchantinformation:{messagetypeidentifier:'1644',functioncode:'696',messagenumber:'53331800',formatcode:'A2',forwardingreferencedata:'705023 000000',cardacceptorbusinesscode:5411,name:'PROVE POS',street:'VIA ROSSI 2',city:'VERONA',postalcode:'37132',region:'VR',countrycode:'ITA'},lodgingaddendumlist:{},carrentaladdendumlist:{},moneytransfer:NULL,fleetlist:{},purchasinglist:{},dccaddendum:NULL}]|||0|0|0|649318||0|||||||0||3027305|||30309909|0||1||6||0||Tue Aug 01 00:00:00 CEST 2023|0||0||0|2||0||000|||||R|||||||||||181490000000515|200||||0|||85528690|1240||||||9||00000|000||1||||A|5333179998705023|||0|||180516092507157|00|148000584007|P|||0||ZERO|0|||6990|||000000000000000|Mon May 28 11:00:46 CEST 2018|0|0|0||01||&lt;BR /&gt;&lt;STRONG&gt;Exception in component tDBOutput_9 (subOpenConn)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;org.postgresql.util.PSQLException: Can't infer the SQL type to use for an instance of com.datastax.driver.core.UDTValue. Use setObject() with an explicit Types value to specify the type to use.&lt;/STRONG&gt;&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statement.java:1740)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.tCassandraInput_1Process(subOpenConn.java:13580)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.runJobInTOS(subOpenConn.java:15656)&lt;BR /&gt;at cre.subopenconn_0_1.subOpenConn.main(subOpenConn.java:15505)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I insert the two object columns in Postgres?&lt;/P&gt; 
&lt;P&gt;Does anyone could help me?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282901#M56954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Object in Postgres from Cassandra</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282902#M56955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;About inserting an Array type on tPostgresqlOutput component, could you please let us know if this jira issue helps?&lt;/P&gt; 
&lt;P&gt;&lt;A title="https://jira.talendforge.org/browse/TUP-10233" href="https://jira.talendforge.org/browse/TUP-10233" target="_self" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TUP-10233&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 11:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282902#M56955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Object in Postgres from Cassandra</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282903#M56956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no, I mapped the column as string in Talend and db_type varchar.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 11:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Object-in-Postgres-from-Cassandra/m-p/2282903#M56956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-23T11:29:17Z</dc:date>
    </item>
  </channel>
</rss>

