trino icon indicating copy to clipboard operation
trino copied to clipboard

Add tables with authorization information to system.metadata

Open homar opened this issue 4 months ago • 0 comments

Description

Add tables with authorization information to system.metadata #25907

Trino supports ALTER (TABLE | FUNCTION | SCHEMA) SET AUTHORIZATION for quite some time. However there is no way to retrieve this information. This commit fixes this by introducing system.metadata.(tables | schemas | functions)_authorization tables.

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. (x) Release notes are required, with the following suggested text:

## Section
* Introduces system.metadata.(tables | schemas | functions)_authorization tables

homar avatar Jun 02 '25 21:06 homar