<?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: Can't Map a String into a Postgres Inet datatype in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244503#M30635</link>
    <description>Not sure what else is needed... 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
    <pubDate>Mon, 10 Mar 2014 17:36:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-10T17:36:48Z</dc:date>
    <item>
      <title>Can't Map a String into a Postgres Inet datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244500#M30632</link>
      <description>I need to migrate a string field from a mysql table (string type) to a Postgres inet type field. The tPostgresqlOutput is reading the type as object and choking on insert. 
&lt;BR /&gt;I tried to drop a constant into the right side of the Tmap, but that didn't work either. Tested it using direct SQL and it worked fine. 
&lt;BR /&gt;How do I format a string for use as something the Talend thinks is an Object type field? or how to i tell Talend to treat it like a string?
&lt;BR /&gt;Here's a script to test it:
&lt;BR /&gt;create table inet_test1 (id int, phone varchar(20), Ip_address varchar(20));
&lt;BR /&gt;create table inet_test2 (id int, phone varchar(20), Ip_address inet);
&lt;BR /&gt;insert into inet_test1 values (1, 'Phone1', '192.168.0.10');
&lt;BR /&gt;insert into inet_test1 values (2, 'Phone2', null);
&lt;BR /&gt;insert into inet_test1 values (3, 'Phone3', '192.168.0.30');
&lt;BR /&gt;
&lt;BR /&gt;tPostgresqlInput -&amp;gt; tMap ( map all fields) -&amp;gt; tPostgresqlOutput
&lt;BR /&gt;(I did the if null check on the mapping too) 
&lt;BR /&gt;Run...
&lt;BR /&gt;Boom! no workee.</description>
      <pubDate>Fri, 07 Mar 2014 16:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244500#M30632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-07T16:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Map a String into a Postgres Inet datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244501#M30633</link>
      <description>still baffled</description>
      <pubDate>Fri, 07 Mar 2014 16:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244501#M30633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-07T16:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Map a String into a Postgres Inet datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244502#M30634</link>
      <description>Hi, 
&lt;BR /&gt;Could you please upload your component schema setting screenshots into forum so that we can get your situation more precisely. 
&lt;BR /&gt;Do you want to convert the object to a plain string?If so, please have a look at 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCmszCAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/How-to-select-Huge-CLOB-and-write-it-in-flat-file/td-p/85796&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 10 Mar 2014 07:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244502#M30634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-10T07:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Map a String into a Postgres Inet datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244503#M30635</link>
      <description>Not sure what else is needed... 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 10 Mar 2014 17:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244503#M30635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-10T17:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Map a String into a Postgres Inet datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244504#M30636</link>
      <description>Hi, &lt;BR /&gt;Have you checked Windows--&amp;gt;Preference--&amp;gt;Talend--&amp;gt;Metadata of TalendType and see mapping_Postgres.xml to define the schema correspond with the table in DB.(About the data type mapping between Talend type and db type)?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 11 Mar 2014 07:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Map-a-String-into-a-Postgres-Inet-datatype/m-p/2244504#M30636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-11T07:33:19Z</dc:date>
    </item>
  </channel>
</rss>

