Package-level declarations
Types
A dataset of the registry (dataset platform design §4.1, §4.2). It is drafted once from a table, revised and reviewed any number of times, and published when its draft passes the publication gate:
A declaration drafted from a table, and the columns it leaves out.
Proves that this instance can serve QueryDataset before it is published: its name is not taken by a dataset of a declaration file, and its declaration compiles against its table. A refusal is a DatasetRegistryException.
A dataset registry rule the request broke, under one of DatasetRegistryErrorCodes.
A dataset of the registry: its draft (a declaration being written, and the sensitivity reviews of its fields) and the version it serves, if any. The aggregate id is the dataset's name.
Drafts a dataset declaration from a table of the backend that serves datasets, such as ClickHouse's system.columns, in the named source (the default one when null); the draft's storage binding names that source. An unknown table or source is a DatasetRegistryException.invalid.