// We need to adjust the index because the number of replInputs is
// one less than the number of inputSchemas. The inputSchemas
// includes the fragmented table.
int schemaIdx = 1;
while (inputIdx < replInputs.size()) {
SchemaTupleFactory inputSchemaTupleFactory = inputSchemaTupleFactories[schemaIdx];
SchemaTupleFactory keySchemaTupleFactory = keySchemaTupleFactories[schemaIdx];
TupleToMapKey replicate = new TupleToMapKey(4000, keySchemaTupleFactory);
POLocalRearrange lr = LRs[schemaIdx];
try {