Okay, I've figured out why most of these tests are failing.
FileDestination is writing boolean values using to_s, so 'true' and
'false' are being written.
But as far as I can tell, MySQL doesn't map those to boolean values
during the LOAD DATA INFILE of bulk import (this is over in
adapter_extensions), so even if FileDestination wrote a true value, it
always gets loaded as false.
Preferred way to fix this? I'd probably add an option to
MysqlAdapter#do_bulk_load which would cause it to check the table
definition and map incoming true/false to 1/0 if its a tinyint(1), and
then also change FileDestination to set that option.
Opinions?
Thanks,
dwh
Denis Haskin wrote:
Should the 0.9.1 tests pass? I'm using mysql and I get 11 errors (all
but one with slowly changing dimensions).
Thanks,
dwh
_______________________________________________
Activewarehouse-discuss mailing list
Activewarehouse-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss