Skip to content

Commit 2064a90

Browse files
authored
[#2624] docs: add gravitino REST catalog use example (#2625)
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> <!-- Closes #2624 --> # Rationale for this change Closes #2624 ## Are these changes tested? Yes, test pyIceberg with Gravitino Iceberg REST server ## Are there any user-facing changes? No <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 197423f commit 2064a90

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

mkdocs/docs/configuration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,18 @@ catalog:
539539
py-io-impl: pyiceberg.io.fsspec.FsspecFileIO
540540
```
541541

542+
##### Apache Gravitino
543+
544+
```yaml
545+
catalog:
546+
gravitino_catalog:
547+
type: rest
548+
uri: <gravitino-catalog-uri>
549+
header.X-Iceberg-Access-Delegation: vended-credentials
550+
auth:
551+
type: noop
552+
```
553+
542554
### SQL Catalog
543555

544556
The SQL catalog requires a database for its backend. PyIceberg supports PostgreSQL and SQLite through psycopg2. The database connection has to be configured using the `uri` property. The init_catalog_tables is optional and defaults to True. If it is set to False, the catalog tables will not be created when the SQLCatalog is initialized. See SQLAlchemy's [documentation for URL format](https://docs.sqlalchemy.org/en/20/core/engines.html#backend-specific-urls):

0 commit comments

Comments
 (0)