diff --git a/src/frontend/src/catalog/system_catalog/information_schema/schemata.rs b/src/frontend/src/catalog/system_catalog/information_schema/schemata.rs index dad095084ef7..b9c5e08462af 100644 --- a/src/frontend/src/catalog/system_catalog/information_schema/schemata.rs +++ b/src/frontend/src/catalog/system_catalog/information_schema/schemata.rs @@ -29,6 +29,7 @@ use risingwave_frontend_macro::system_catalog; NULL FROM rw_catalog.rw_schemas s JOIN rw_catalog.rw_users u ON s.owner = u.id + WHERE has_schema_privilege(s.name, 'CREATE, USAGE') ORDER BY catalog_name, schema_name" )] #[derive(Fields)]