Hi guys,
I am trying to get the data from google analytics and integrate them in the table on bi server. My transformation is simple:
Google analytics -> Select values -> Insert/Update AND -> text file output
With text file output everything works fine but on Insert/Update I got an error:
2013/07/23 14:48:49 - Spoon - Transformation opened.
2013/07/23 14:48:49 - Spoon - Launching transformation [ga_alle_verlage_fua_pagepath_level3_test]...
2013/07/23 14:48:49 - Spoon - Started the transformation execution.
2013/07/23 14:48:49 - ga_alle_verlage_fua_pagepath_level3_test - Dispatching started for transformation [ga_alle_verlage_fua_pagepath_level3_test]
2013/07/23 14:48:49 - ga_alle_verlage_fua_pagepath_level3_test - This is a replay transformation for : 2013/07/23 14:48:26
2013/07/23 14:48:49 - Transformation metadata - Natural sort of steps executed in 0 ms (4 time previous steps calculated)
2013/07/23 14:48:54 - Google Analytics.0 - Finished processing (I=0, O=0, R=0, W=1135, U=0, E=0)
2013/07/23 14:48:54 - Select values.0 - Finished processing (I=0, O=0, R=1135, W=1135, U=0, E=0)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleStepException:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error in step, asking everyone to stop because of:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inserting/updating row
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:318)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at java.lang.Thread.run(Unknown Source)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inserting/updating row
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1411)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1325)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1313)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1296)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.lookupValues(InsertUpdate.java:116)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:301)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 2 more
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4185)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1399)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:857)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1360)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 7 more
2013/07/23 14:50:29 - Insert / Update pageviews.0 - Finished processing (I=1135, O=34, R=1135, W=1134, U=0, E=1)
2013/07/23 14:50:29 - Spoon - The transformation has finished!!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ga_alle_verlage_fua_pagepath_level3_test
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ga_alle_verlage_fua_pagepath_level3_test
How can I fix this? I have tried to limit the length of page path level3 in Select values but it didn't help.
Thanks a lot for your tips!
I am trying to get the data from google analytics and integrate them in the table on bi server. My transformation is simple:
Google analytics -> Select values -> Insert/Update AND -> text file output
With text file output everything works fine but on Insert/Update I got an error:
2013/07/23 14:48:49 - Spoon - Transformation opened.
2013/07/23 14:48:49 - Spoon - Launching transformation [ga_alle_verlage_fua_pagepath_level3_test]...
2013/07/23 14:48:49 - Spoon - Started the transformation execution.
2013/07/23 14:48:49 - ga_alle_verlage_fua_pagepath_level3_test - Dispatching started for transformation [ga_alle_verlage_fua_pagepath_level3_test]
2013/07/23 14:48:49 - ga_alle_verlage_fua_pagepath_level3_test - This is a replay transformation for : 2013/07/23 14:48:26
2013/07/23 14:48:49 - Transformation metadata - Natural sort of steps executed in 0 ms (4 time previous steps calculated)
2013/07/23 14:48:54 - Google Analytics.0 - Finished processing (I=0, O=0, R=0, W=1135, U=0, E=0)
2013/07/23 14:48:54 - Select values.0 - Finished processing (I=0, O=0, R=1135, W=1135, U=0, E=0)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleStepException:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error in step, asking everyone to stop because of:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inserting/updating row
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:318)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at java.lang.Thread.run(Unknown Source)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inserting/updating row
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1411)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1325)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1313)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1296)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.lookupValues(InsertUpdate.java:116)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:301)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 2 more
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'page_path_level_3' at row 1
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4185)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1399)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:857)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.database.Database.insertRow(Database.java:1360)
2013/07/23 14:50:29 - Insert / Update pageviews.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 7 more
2013/07/23 14:50:29 - Insert / Update pageviews.0 - Finished processing (I=1135, O=34, R=1135, W=1134, U=0, E=1)
2013/07/23 14:50:29 - Spoon - The transformation has finished!!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ga_alle_verlage_fua_pagepath_level3_test
2013/07/23 14:50:29 - ga_alle_verlage_fua_pagepath_level3_test - ga_alle_verlage_fua_pagepath_level3_test
How can I fix this? I have tried to limit the length of page path level3 in Select values but it didn't help.
Thanks a lot for your tips!