@Override
public void map(LongWritable key, Text line, Context context) throws IOException, InterruptedException{
CSVReader reader = new CSVReader(new InputStreamReader(new ByteArrayInputStream(line.toString().getBytes())), ',');
try {
String[] tokens = reader.readNext();
PreparedStatement upsertStatement;
if(tokens.length >= stmtCache.length){
//If CVS values are more than the number of cols in the table, apply the col count cap
upsertStatement = stmtCache[stmtCache.length - 1];