Batch insert code for vertica.