问题
In Presto
SHOW SCHEMAS;
returns all schemas
SHOW TABLES FROM foo;
returns all tables for foo schema
Is there a simple way to return tables from all schemas in Presto?
回答1:
You can use select table_schema, table_name from information_schema.tables;
来源:https://stackoverflow.com/questions/40938321/show-tables-from-all-schemas-in-presto