etlalchemy
etlalchemy copied to clipboard
"Upserting" to MySQL doesn't work
trafficstars
When drop_database=False, real sql statements get dumped to file but it's imported by mysqlimport. That ends up in inserting the whole statement into the first column of the table. Is it a known issue or a non supported feature?
Interesting...this feature (upserting) was a bit experimental, but this sounds like an easy enough fix. I've really only tested this on PostgreSQL, so it may be that MySQL behavior is iffy. Would you be willing to take a stab at fixing this with a Pull Request?
sure, will do.