Skip to main content

Data

Governance → Data is the place to look at the access to one piece of data: a catalog, a schema, a table, a view or a column. Open an object to see who can read it, which tags and rules apply, which engines serve it and where it comes from.

The Data page for the sessions table: header, engine docs-trino, and the Columns list with classifications and rules

The page needs the policy:read or tag:read permission. Reading grants and rules needs policy:read; reading and applying tags needs tag:read.

Browse the catalog tree​

The left panel is a tree of the catalogs egret knows about. Each catalog shows its kind and source, for example Iceberg · egret for a warehouse egret manages, TPC-H · via engine or JDBC · via engine for catalogs listed through an engine. Expand a catalog to its schemas, and a schema to its tables, views and materialized views.

ControlWhat it does
Go to pathType catalog.schema.table (or a shorter path) and press Enter to open it directly. An empty or malformed path shows Enter a path such as catalog.schema.table.
Filter loaded itemsFilters the items already loaded in the tree. It does not search catalogs you have not expanded.
KeyboardUp and Down move through items. Right expands, Left collapses, Enter opens.

On a narrow screen the tree sits behind a Show catalogs toggle.

note

Schemas and tables are listed live by asking the catalog or engine. If a level cannot be listed the tree says This level could not be listed. Retry, or reload the page. An engine can return an empty list for names it cannot match, for example mixed-case names in Trino JDBC catalogs.

New catalogs are added by an administrator in Control plane → Catalogs. Until one is registered the tree shows No catalogs.

The object header​

Every object page has the same header:

  • The name and the path (catalog.schema.table), and the kind: Catalog, Schema, Table, View or Materialized view.
  • Grant access, which opens the grant dialog with this object as the scope.
  • Add tag on a table, view or materialized view, which opens the tag picker. Tags exist only on egret-managed catalogs; on any other the button is disabled with Tags can be added to egret-managed catalogs only.
  • Who can read?, which opens Explain access for this object.
  • Engines: the engines that serve the catalog, for example docs-trino · Trino. No engine attached means no engine is declared to serve the catalog, so no policy reaches an engine.
  • Tags: the tags on this object. A schema or catalog shows none, because tags attach to tables and columns.

The header never waits on the API. Its name and path come from the URL, so one failing call never blanks the page.

Tabs by level​

The tabs depend on what you opened:

LevelTabs
CatalogOverview, Permissions, Masks & filters, Details
SchemaOverview, Permissions, Masks & filters
Table, view, materialized viewOverview, Permissions, Masks & filters, Lineage, Details

The selected tab is kept in the address (?tab=permissions, ?tab=masks, ?tab=lineage, ?tab=details), so you can link to it and the Back button walks through tabs. Overview is the absence of the parameter.

Overview​

  • Catalog: the Schemas it contains, the Attached engines (or Not attached to any engine) and the Workspaces it is assigned to.
  • Schema: a table with Name and Kind for each table, view or materialized view.

The schema analytics: three tables and the view revenue_by_country

  • Table: the Columns table with Name, Type, Tags and Masking rules per column. Select a column to open its panel (see below).

Permissions​

The grants that reach the object. See Grants.

Masks & filters​

The mask and row-filter rules that select the object. See Masks and row filters.

Lineage​

On a table, Reads from lists the base tables of a view, and Read by lists the views and materialized views that read this table. Each view shows how its lineage was obtained: Recorded: egret read the view's definition and recorded the tables it reads, Not recorded: egret has no lineage for this view yet, or Matched by definition text, may over-report. An ordinary table shows egret has no lineage recorded for this object and, when nothing reads it, No view or materialized view reads this table. This tab is what View exposure is built on.

Details​

FieldMeaning
Full pathThe catalog.schema.table path.
SourceThe kind and origin, for example Iceberg · egret.
WarehouseThe egret warehouse behind an egret catalog.
WorkspacesWorkspaces the catalog is assigned to.
EnginesEngines that serve it, or None.

The Details tab of the sessions table

The column panel​

Selecting a column in the Columns table opens a panel on the right and adds ?column=<name> to the address. It shows, for that column:

  • Who can read this column?, an explain for the column.
  • Add tag and the Tags on the column.
  • Masking rules that select it.
  • Grants set on the column. Grants on the table and above reach the column too; the panel says so and points to Permissions.

Close the panel with Close.

The column panel for user_id with its classification, the rule selected by the classification, and no column grant

Limits and known issues​

  • The Data page shows egret grants and rules only. Hand-written and egret-seeded engine policies are not listed; Who can read? gives the engine's own answer.
  • Lineage is only as complete as egret's record of each view. A table with no recorded readers shows No view or materialized view reads this table, even if a view in another system reads it.

Further reading​