// Rather than not use a local index when a column not contained by it is referenced, we
// join back to the data table in our coprocessor since this is a relatively cheap
// operation given that we know the join is local.
if (context.getCurrentTable().getTable().getIndexType() == IndexType.LOCAL) {
try {
return new LocalIndexDataColumnRef(context, node.getName());
} catch (ColumnFamilyNotFoundException c) {
throw e;
}
} else {
throw e;