final List<IndexSchema> indexDetailMap = ImmutableList.of(indexSchema);
// Update the table schema to store the new index schema details
final TableSchema existingSchema = getSchema(tableId);
final TableSchema updatedSchema = existingSchema.schemaCopy();
updatedSchema.addIndices(indexDetailMap);
// Write the updated table schema and created index
puts.add(putTableSchema(tableId, updatedSchema));
puts.add(putIndices(tableId, indexDetailMap));