Hi,
this is what I came across today. I’m trying to load file with some strings to a table (ENGINE=BRIGHTHOUSE) with a varchar(255) field. File has strings up to, say, 300 characters long.
When using DEFAULT CHARSET=utf8, strings load just fine without any warnings, i.e. without truncation. So at the end I have a column designed to hold up to 255 characters containing a lot more data. Well, I guess I’m not sure if utf8 support is properly implemented yet.
When using DEFAULT CHARSET=latin1, I get this:
ERROR 2 (HY000): Wrong data or column definition. Row: 1, field: 1.
Which is also painful because it breaks automated data load (or requires me to validate my data manually).
Could you please comment on
- whether utf8 is officially supported or not, and if not, are there are plans to support it in the nearest future
- is there a way to enable data truncation instead of throwing an error
Thanks.

