activewarehouse / activewarehouse-etl

Extract-Transform-Load library from ActiveWarehouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

local_infile option not working correctly

shshankjain opened this issue · comments

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,

if field_separator || field_enclosure || line_separator || null_string
doesnt seem to be passing along the same.

Can you look into this.