New Zenner
- Join Date:
- Jul 2010
- Posts:
- 9
- Plugin Contributions:
- 0
Error: Illegal mix of collations using ETL Framework
I am writing an ETL transform to load product reviews from a vendor feed
Kettle Spoon 3.2.0 ETL Framework.
Zen Cart 1.3.8
The transform scans the reviews_description table to perform an upsert and return the primary key values to the stream. Here is an error I get when attempting to operate on the table:
2010/11/26 22:23:47 - Database lookup.0 - Checking row: [ALE96007], [ 5], [was a good movie], [robbie], [09/29/2004]
2010/11/26 22:23:47 - Database lookup.0 - Field [SKU] has nr. 0
2010/11/26 22:23:47 - CSV file input.0 - Signaling 'output done' to 1 output rowsets.
2010/11/26 22:23:47 - CSV file input.0 - Finished processing (I=5664, O=0, R=0, W=5663, U=0, E=0)
2010/11/26 22:23:47 - Combination lookup/update.0 - preparing combi-lookup statement:
2010/11/26 22:23:47 - Combination lookup/update.0 - SELECT reviews_id
2010/11/26 22:23:47 - Combination lookup/update.0 - FROM zen_reviews_description
2010/11/26 22:23:47 - Combination lookup/update.0 - WHERE ( ( reviews_text = ? ) OR ( reviews_text IS NULL AND ? IS NULL ) )
2010/11/26 22:23:47 - Combination lookup/update.0 - AND ( ( languages_id = ? ) OR ( languages_id IS NULL AND ? IS NULL ) )
2010/11/26 22:25:41 - Combination lookup/update.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Because of an error, this step can't continue:
2010/11/26 22:25:41 - Combination lookup/update.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Error looking up row in database
2010/11/26 22:25:41 - Combination lookup/update.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
2010/11/26 22:25:41 - Database lookup.0 - Stopped while putting a row on the buffer.
The problem appears to be with coercing encoding types between the csv file and the database? Maybe??
I found this thread in the Pentaho archives, but I'd like to bring this up over here:
forums.pentaho.com/archive/in...p/t-67651.html
I have not been able to modify the connection string as suggested, so I am interested to know if there is a Zen Cart based solution for this.
Please help!