unitycatalog.admin¶
The classes of the admin API.
Classes
| Name | Description |
|---|---|
BackupResponse |
A snapshot of the whole catalog: the rows of each table of the store. The audit log is not in it. |
RestoreResponse |
What a restore imported. |
class unitycatalog.admin.BackupResponse¶
A snapshot of the whole catalog: the rows of each table of the store. The audit log is not in it.
Attributes
- tables (dict[str, list[Any]]) – The rows of each table, by table name. A row is a JSON object of its columns, as the table of the store has them.
- version (int) – Version of the snapshot format. A restore takes only version 1.
class unitycatalog.admin.RestoreResponse¶
What a restore imported.
Attributes
- imported (dict[str, int]) – Number of rows imported, by table name.
- skipped (list[str]) – The rows left out, each as
<table>: <reason>, such as a row without its key.