Permalink
Browse files

Don't bother with calling getColumnType() in VoltTable.add()

  • Loading branch information...
1 parent 48b5f7b commit c9dd6b6fc888deb5c0ed11eeab84975bc50e98c0 @apavlo committed Apr 6, 2012
@@ -562,7 +562,7 @@ public final void add(VoltTableRow row) {
final Object[] values = new Object[m_colCount];
for (int i = 0; i < m_colCount; i++) {
try {
- values[i] = row.get(i, getColumnType(i));
+ values[i] = row.get(i); // , getColumnType(i));
} catch (Exception e) {
e.printStackTrace();
}
@@ -77,7 +77,7 @@
private final LoadThread m_loadThreads[];
final TPCCConfig m_tpccConfig;
- private int MAX_BATCH_SIZE = 5000;
+ private int MAX_BATCH_SIZE = 10000;
private static final VoltTable.ColumnInfo customerTableColumnInfo[] = new VoltTable.ColumnInfo[] {
new VoltTable.ColumnInfo("C_ID", VoltType.INTEGER), new VoltTable.ColumnInfo("C_D_ID", VoltType.TINYINT),

0 comments on commit c9dd6b6

Please sign in to comment.