changed delimiter char for 'tables.csv' added expected geometry type for sql generation, modified sql generation code.