AkibanInformationSchema ais = context.getQueryContext().getStore().schema().ais();
Columnar columnar = ais.getTable(parts[0], parts[1]);
if(columnar == null) {
columnar = ais.getView(parts[0], parts[1]);
if(columnar == null) {
throw new NoSuchTableException(parts[0], parts[1]);
}
}
Column column = columnar.getColumn(parts[2]);
if(column == null) {
throw new NoSuchColumnException(String.format("%s.%s.%s", parts[0], parts[1], parts[2]));