in paimon-trino-common/src/main/java/org/apache/paimon/trino/TrinoMetadataBase.java [162:170]
private List<SchemaTableName> listTables(String schema) {
try {
return catalog.listTables(schema).stream()
.map(table -> new SchemaTableName(schema, table))
.collect(toList());
} catch (Catalog.DatabaseNotExistException e) {
throw new RuntimeException(e);
}
}