Parse csv and mysql client side

`new String[values.size]` would eliminate the need for `emptyStringArray`.