DEV Community

Discussion on: What was the worst bug you've ever written?

Collapse
 
cuisinedegeek profile image
🍥 CDG 🍥 • Edited

Not a big bug, tried to extract data from a 1.5gb CSV file with 15 columns, put the data of each line in a temp dB and then, loop into it to extract each word separated by a comma for some columns ...

First part took almost an hour to complete and the extract part...
crushed the school DB because the badly formated CSV contained "" and , INSIDE the data separated by comma, and the script didn't handled it well for this amount of data. Good times tho.