Hi Jeff,
Back in March we begun investigating InfoBright as DB engine, so we used ICE3.3.1 Later we tried the same with production grade servers, and we installed ICE2.4.2. The problems started with the migration. Three weeks ago we’ve purchased IEE and installed IEE3.4.2 hoping the problems were solved. Unfortunately this was not the case. Currently we’re staging our DB on IEE on the first (desktop grade) machine we used initially, so we had to uninstall ICE3.3.1. This is why I cannot tell the original charset/collation used.
On the currently installed ICE we have in my-ib.cnf:
default-storage-engine=brighthouse
collation_server=latin1_bin
character_set_server=latin1
On the currently installed IEE we have the same.
The tables have
ENGINE=BRIGHTHOUSE DEFAULT CHARSET=utf8
Our tests show the following (with the above setup / ini file):
a) if you create a database w/o specifying the charset used, and then create a table with a charset like above
The first (no matter the size or number of rows) LOAD DATA INFILE works, while the subsequent fail
b) if you dcreate a database with DEFAULT CHARSET=utf8, and then create a table with the same charset
All LOAD DATA INFILE work
To my knowledge, charset specification at table creation is used to specify a different charset from the default DB one.
Also, while creating a DB, the charset used by default is the one in INI file.
It seems to me that there’s a bug in ICE/IEE where charset specification at table level is not observed at some point (first data loading is fine while the subsequent fail). Unfortunately, the error returned by the loader is not descriptive enough, so I cannot tell at which line (or field) the loader gae up with an error.
If you really need a set of commands and data that shows this, we can try to provide some (a minimal table definition, and a minimal set of CSV files). Just let me know, and we’ll try to provide them in due time.
Much obliged for trying to help us,
marius