Native consumer views
Submit to the installation’sviewPublication target to create a view in the
same catalog that selects one version’s tag:
SELECT <columns> FROM <namespace>.<table> VERSION AS OF 'bijection-v<n>'; columns: null selects every column. With number, the view
stays on that version; with number: null, the view follows the current
version and is published again on every new one. A view holds the version it
selects, so the version stays readable while the view exists. Its task settles
once the catalog created the view, or refuses Refused.
A synced dataset’s head is a version only once tagged, and a view of an
untagged version refuses Untagged. Publish a view of it after submitting to
lake.pinning, or at the sync’s publication cadence.
views.list({ dataset }) lists views and views.drop({ dataset, name })
drops one; both allow roles.operator. Every view writes a reach record from
its publication until it leaves the version, under the principal
view:<name>.
Readers of a view authenticate to the catalog as themselves: what they may read
is the catalog’s access control, not a Bijection lease. Publish views only of
datasets whose readers the catalog already governs.