Skip to content

Commit fee92f4

Browse files
committed
Update doc
1 parent 47ed01e commit fee92f4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

mkdocs/docs/api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ def cleanup_old_snapshots(table_name: str, snapshot_ids: list[int]):
15271527
cleanup_old_snapshots("analytics.user_events", [12345, 67890, 11111])
15281528
```
15291529

1530-
## Create a view
1530+
## Views
15311531

15321532
If the REST server does not indicate support for view endpoints, you can enable it by setting `"view-endpoints-supported": "true"`:
15331533

@@ -1547,6 +1547,8 @@ catalog = load_catalog(
15471547
)
15481548
```
15491549

1550+
## Create a view
1551+
15501552
To create a view from the catalog:
15511553

15521554
```python

mkdocs/docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ catalog:
347347
| warehouse | myWarehouse | Warehouse location or identifier to request from the catalog service. May be used to determine server-side overrides, such as the warehouse location. |
348348
| snapshot-loading-mode | refs | The snapshots to return in the body of the metadata. Setting the value to `all` would return the full set of snapshots currently valid for the table. Setting the value to `refs` would load all snapshots referenced by branches or tags. |
349349
| `header.X-Iceberg-Access-Delegation` | `vended-credentials` | Signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. When using `vended-credentials`, the server provides temporary credentials to the client. When using `remote-signing`, the server signs requests on behalf of the client. (default: `vended-credentials`) |
350+
| view-endpoints-supported | true | Enables view endpoints if the REST server does not indicate support for them natively. |
350351

351352
#### Headers in REST Catalog
352353

0 commit comments

Comments
 (0)