<?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 Postgres geometry datatype convert to Teradata? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Postgres-geometry-datatype-convert-to-Teradata/m-p/2196516#M633</link>
    <description>I am trying to move geom data from a 
&lt;U&gt;&lt;B&gt;Postgres&lt;/B&gt;&lt;/U&gt; database table with a column of data type " 
&lt;B&gt;geometry&lt;/B&gt;" column size " 
&lt;B&gt;2147483647&lt;/B&gt;". 
&lt;BR /&gt;The destination 
&lt;B&gt;&lt;U&gt;Teradata&lt;/U&gt;&lt;/B&gt;&amp;nbsp;database table has a CLOB column with a size of 
&lt;B&gt;2097088000&lt;/B&gt;. 
&lt;BR /&gt;My job: 
&lt;BR /&gt;tPostgresqlInput &amp;gt; tFileOutputDelimited &amp;gt; tFileInputDelimited &amp;gt; tMap &amp;gt; tTeradataOutput 
&lt;BR /&gt;The data gets dumped to the delimited file from Postgres successfully. 
&lt;BR /&gt;When the data is attempted to load into Teradata I get the error: 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;Exception in component tTeradataOutput_1 com.teradata.jdbc.jdbc_4.util.JDBCException: Parameter 14 &lt;B&gt;length is 67380 bytes, which is greater than the maximum 64000 bytes&lt;/B&gt; that can be set.&lt;/FONT&gt; 
&lt;BR /&gt;Is the Talend tTeradataOutput component not able to handle data this large or am I doing something wrong? 
&lt;BR /&gt;Do I need to use the ST_GEOMETRY data type for my Teradata table column?</description>
    <pubDate>Thu, 24 Dec 2015 16:17:44 GMT</pubDate>
    <dc:creator>talendtester</dc:creator>
    <dc:date>2015-12-24T16:17:44Z</dc:date>
    <item>
      <title>Postgres geometry datatype convert to Teradata?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-geometry-datatype-convert-to-Teradata/m-p/2196516#M633</link>
      <description>I am trying to move geom data from a 
&lt;U&gt;&lt;B&gt;Postgres&lt;/B&gt;&lt;/U&gt; database table with a column of data type " 
&lt;B&gt;geometry&lt;/B&gt;" column size " 
&lt;B&gt;2147483647&lt;/B&gt;". 
&lt;BR /&gt;The destination 
&lt;B&gt;&lt;U&gt;Teradata&lt;/U&gt;&lt;/B&gt;&amp;nbsp;database table has a CLOB column with a size of 
&lt;B&gt;2097088000&lt;/B&gt;. 
&lt;BR /&gt;My job: 
&lt;BR /&gt;tPostgresqlInput &amp;gt; tFileOutputDelimited &amp;gt; tFileInputDelimited &amp;gt; tMap &amp;gt; tTeradataOutput 
&lt;BR /&gt;The data gets dumped to the delimited file from Postgres successfully. 
&lt;BR /&gt;When the data is attempted to load into Teradata I get the error: 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;Exception in component tTeradataOutput_1 com.teradata.jdbc.jdbc_4.util.JDBCException: Parameter 14 &lt;B&gt;length is 67380 bytes, which is greater than the maximum 64000 bytes&lt;/B&gt; that can be set.&lt;/FONT&gt; 
&lt;BR /&gt;Is the Talend tTeradataOutput component not able to handle data this large or am I doing something wrong? 
&lt;BR /&gt;Do I need to use the ST_GEOMETRY data type for my Teradata table column?</description>
      <pubDate>Thu, 24 Dec 2015 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-geometry-datatype-convert-to-Teradata/m-p/2196516#M633</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2015-12-24T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres geometry datatype convert to Teradata?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Postgres-geometry-datatype-convert-to-Teradata/m-p/2196517#M634</link>
      <description>The geometry data types are mostly not standardised and implemented in the vendor specific way. You have to convert the values from the PostgreSQL representation to the Teradata needed representation - unfortunately I have not done such work yet.&amp;nbsp; 
&lt;BR /&gt;Teradata also expects for such large values a BLOB data type. I guess this data type is not fully supported in Talend yet. 
&lt;BR /&gt;You could try to convert the String (as it is actually returned from the PostgreSQL db) with a java routine to a java.sql.Blob data type and send this to a Teradata schema column of type Object.&amp;nbsp;</description>
      <pubDate>Sun, 27 Dec 2015 13:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Postgres-geometry-datatype-convert-to-Teradata/m-p/2196517#M634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-27T13:57:25Z</dc:date>
    </item>
  </channel>
</rss>

