Expand description
Admin UDTF listing DDL-defined view sets (straight from Postgres) and built-in ones
list_view_set_definitions() – admin UDTF listing every view set: the rows of
lakehouse_view_set_definitions read straight from Postgres (source = 'ddl'), plus the
built-in view sets of the ViewFactory that have no such row (source = 'builtin').
Postgres rows are read directly rather than from ViewRegistry::current() so an admin can
see a definition that exists on disk but failed to load. Built-in rows carry the
update_group of their global view, which gives clients the materialization order.
Registered inside the same admin-gated block as list_query_denials()’s siblings.
Structs§
- DdlRow
- A row of
lakehouse_view_set_definitions. - Definition
Row - A row of the
list_view_set_definitions()output. - List
View SetDefinitions Table Function - A DataFusion
TableFunctionImplforlist_view_set_definitions().
Functions§
- build_
batch - Builds the output batch, keeping at most
limitrows. - merge_
rows - Unions the Postgres rows with the factory view sets they do not name, sorted by name. A Postgres row wins on a name collision, which covers a DDL set that is also in the factory and one that failed to load.