activewarehouse / activewarehouse-etl

Extract-Transform-Load library from ActiveWarehouse
MIT License
240 stars 102 forks source link

local_infile option not working correctly #137

Open shshankjain opened 11 years ago

shshankjain commented 11 years ago

Hey Guys,

The local_infile option when passed to bulk processor doesnt seem to be working fine.

Looking into the code, we found that https://github.com/activewarehouse/adapter_extensions/blob/00c1d6874601d784fdc656c4832514545eda87a4/lib/adapter_extensions/adapters/mysql_adapter.rb#L55 requires the local_infile to be passed in the option hash, however, https://github.com/activewarehouse/activewarehouse-etl/blob/2ae7015845b3c2590b65c2264b248bbcfd33b4ff/lib/etl/processor/bulk_import_processor.rb#L78 doesnt seem to be passing along the same.

Can you look into this.