if (!isValidTableName(tableIdent.name())) {
throw new InvalidTableNameException(tableIdent.name());
}
SchemaInfo schemaInfo = referenceInfos.getSchemaInfo(tableIdent.schema());
if (schemaInfo == null) {
throw new SchemaUnknownException(tableIdent.schema());
} else if (schemaInfo.systemSchema()) {
throw new UnsupportedOperationException(String.format(
"tables of schema \"%s\" are read only.", tableIdent.schema()));
}
TableInfo tableInfo = schemaInfo.getTableInfo(tableIdent.name());