presto-main/src/main/java/io/prestosql/connector/informationschema/InformationSchemaPageSource.java/InformationSchemaPageSource/addTablesRecords
class InformationSchemaPageSource:    private void addTablesRecords(QualifiedTablePrefix prefix)
    {
        Set<SchemaTableName> tables = listTables(session, metadata, accessControl, prefix);
        Set<SchemaTableName> views = listViews(session, metadata, accessControl, prefix);

        for (SchemaTableName name : union(tables, views)) {
            // if table and view names overlap, the view wins
            String type = views.contains(name) ? "VIEW" : "BASE TABLE";
            addRecord(
                    prefix.getCatalogName(),
                    name.getSchemaName(),
                    name.getTableName(),
                    type,
                    null);
            if (isLimitExhausted()) {
                return;
            }
        }
    }