insertExprs.add(new TPreparedField(input.rowType.typeAt(i), i));
}
// Fill in input values
Iterator<Column> colIt = inputColumns.iterator();
TableRowType targetRowType = schema().tableRowType(table);
TPreparedExpression[] row = new TPreparedExpression[targetRowType.nFields()];
for (int i = 0; i < inputColumns.size(); i++) {
Column column = colIt.next();
TInstance type = column.getType();
int pos = column.getPosition();
row[pos] = insertExprs.get(i);