<?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: Crawling through the Tutorial. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340413#M108447</link>
    <description>Well for all those following in my footsteps, the problem is in the tutorial, it says to unclick the id in the component designer. 
&lt;BR /&gt;But could someone explain why this was causing the error?
&lt;BR /&gt;Chris</description>
    <pubDate>Thu, 18 Jun 2009 23:44:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-18T23:44:50Z</dc:date>
    <item>
      <title>Crawling through the Tutorial.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340412#M108446</link>
      <description>Would anybody mind taking a look at the attached screen shots and advise me where I'm going wrong? The first screen shows a warning and how far I've gotten in the tutorial.
&lt;BR /&gt;The second shows the mapping and the final the error I'm getting any help is appreciated.
&lt;BR /&gt;tarting job custload at 22:37 18/06/2009.
&lt;BR /&gt;Exception in component tMysqlInput_1
&lt;BR /&gt;java.sql.SQLException: Invalid value for getLong() - 'AL'
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1056)
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
&lt;BR /&gt; at com.mysql.jdbc.ResultSet.getLong(ResultSet.java:2981)
&lt;BR /&gt; at com.mysql.jdbc.ResultSet.getLong(ResultSet.java:2926)
&lt;BR /&gt; at barney.custload_0_1.custload.tMysqlInput_1Process(custload.java:2601)
&lt;BR /&gt; at barney.custload_0_1.custload.tFileInputDelimited_1Process(custload.java:1435)
&lt;BR /&gt; at barney.custload_0_1.custload.runJobInTOS(custload.java:2857)
&lt;BR /&gt; at barney.custload_0_1.custload.main(custload.java:2774)
&lt;BR /&gt;Job custload ended at 22:37 18/06/2009. 
&lt;BR /&gt;Cheers
&lt;BR /&gt;Chris</description>
      <pubDate>Sat, 16 Nov 2024 13:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340412#M108446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Crawling through the Tutorial.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340413#M108447</link>
      <description>Well for all those following in my footsteps, the problem is in the tutorial, it says to unclick the id in the component designer. 
&lt;BR /&gt;But could someone explain why this was causing the error?
&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 18 Jun 2009 23:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340413#M108447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T23:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Crawling through the Tutorial.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340414#M108448</link>
      <description>Next set of errors. 
&lt;BR /&gt;Starting job custload at 00:06 19/06/2009. 
&lt;BR /&gt; connecting to socket on port 3646 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tMysqlOutput_1 
&lt;BR /&gt;com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'state' at row 2 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2936) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1601) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1710) 
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2436) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1402) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1694) 
&lt;BR /&gt;1|Andrew|Cleveland|South Roosevelt Drive|Thu Jan 20 00:00:00 GMT 2005|55239| 
&lt;BR /&gt;2|Franklin|Jefferson|Carpinteria Avenue|Fri May 19 00:00:00 BST 2006|78148|North Carolina 
&lt;BR /&gt;3|Calvin|Cleveland|Corona Del Mar|Thu Sep 28 00:00:00 BST 2000|77912|Connecticut 
&lt;BR /&gt;4|Grover|Ford|Cleveland Ave.|Tue Nov 27 00:00:00 GMT 2001|76036| 
&lt;BR /&gt;5|Woodrow|Adams|South Highway|Thu Sep 30 00:00:00 BST 2004|56895|Arizona 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1608) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1593) 
&lt;BR /&gt; at barney.custload_0_1.custload.tFileInputDelimited_1Process(custload.java:2231) 
&lt;BR /&gt; at barney.custload_0_1.custload.runJobInTOS(custload.java:2962) 
&lt;BR /&gt; at barney.custload_0_1.custload.main(custload.java:2872) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job custload ended at 00:06 19/06/2009. 
&lt;BR /&gt;When I tried to trim the offending data field it complained that the field was actually null, so I gues it's doing something else, in fact the reference state doesn't exist, so I tried using the inner join so that no value would get returned for 'XX' and the row would be excluded from any output to the customers table but that gave a different error. Can anybosy tell me what's going on? 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 19 Jun 2009 00:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340414#M108448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-19T00:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Crawling through the Tutorial.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340415#M108449</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;java.sql.SQLException: Invalid value for getLong() - 'AL'&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You set the data type as long, but there is a string value in source data. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'state' at row 2&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It's what the error told you : you 're trying to insert data longer than your table field. 
&lt;BR /&gt;For example a string with 25 characters in a database table field with length equals to 20 ... 
&lt;BR /&gt;So you have to modify one or the other , probably the length of your table column. Spetify the length of column when you create a table. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 19 Jun 2009 02:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340415#M108449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-19T02:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Crawling through the Tutorial.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340416#M108450</link>
      <description>I think in all these issues, I need some way to determine where the error is actually occurring?
&lt;BR /&gt;I sorted the first issue by changing the underlying sql to include the ID, but why was it getting the record by the ID in the first place?
&lt;BR /&gt;In the second issue, the other way to solve the problem is to cut or substring the field to a given length, is there a function to do that? The tutorial actually says to change the output of out1 to 14 chars, but it doesn't seem to work it's way into the code?
&lt;BR /&gt;Cheers
&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 19 Jun 2009 08:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Crawling-through-the-Tutorial/m-p/2340416#M108450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-19T08:46:56Z</dc:date>
    </item>
  </channel>
</rss>

