在 Presto 中显示所有模式中的表

Show tables from all schemas in Presto

在瞬间

SHOW SCHEMAS; return所有模式

SHOW TABLES FROM foo; returns foo 模式的所有表

是否有从 Presto 中的所有模式中 return 表的简单方法?

您可以使用select table_schema, table_name from information_schema.tables;