throw new RelConversionException(String.format("Table %s is not valid", Util.sepList(table.names, ".")));
}
SqlNode schemaCondition = null;
if (!isRootSchema(schema)) {
AbstractSchema drillSchema = getDrillSchema(schema);
schemaCondition = DrillParserUtil.createCondition(
new SqlIdentifier("TABLE_SCHEMA", SqlParserPos.ZERO),
SqlStdOperatorTable.EQUALS,
SqlLiteral.createCharString(drillSchema.getFullSchemaName(), CHARSET, SqlParserPos.ZERO)
);
}
SqlNode where = DrillParserUtil.createCondition(
new SqlIdentifier("TABLE_NAME", SqlParserPos.ZERO),