World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#12359] docs: Remove remaining Since Version references (#12409)
Qi Yubf20d60103ff
diff --git a/docs/fileset-catalog.md b/docs/fileset-catalog.mdindex 10e102d786..c096e71d0a 100644--- a/docs/fileset-catalog.md+++ b/docs/fileset-catalog.md@@ -184,7 +184,7 @@ Besides, the Fileset catalog fileset has the following properties:| Property name | Description | Default value | Required | Immutable ||---------------------------------------|-------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|--------------------------------------------|-----------|-| `location` | The storage location managed by schema. Its location name is `unknown`. It's also should be a directory or path prefix. | (none) | No |+| `location` | The storage location managed by schema. Its location name is `unknown`. It's also should be a directory or path prefix. | (none) | No | Yes || `authentication.impersonation-enable` | Whether to enable impersonation for the Fileset catalog fileset. | The parent(schema) value | No | Yes || `authentication.type` | The type of authentication for Fileset catalog fileset, we only support `kerberos`, `simple`. | The parent(schema) value | No | No || `authentication.kerberos.principal` | The principal of the Kerberos authentication for the fileset. | The parent(schema) value | No | No |diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.mdindex 52e63bbf65..8339d69268 100644--- a/docs/iceberg-rest-service.md+++ b/docs/iceberg-rest-service.md@@ -92,7 +92,7 @@ Standalone and auxiliary deployments use different configuration files:- Auxiliary service: `gravitino.conf`.Both files use the same Iceberg REST configuration items.-The `gravitino.auxService.iceberg-rest.` prefix has been deprecated since `0.6.0-incubating`.+The `gravitino.auxService.iceberg-rest.` prefix is deprecated.If both `gravitino.auxService.iceberg-rest.key` and `gravitino.iceberg-rest.key` are present, `gravitino.iceberg-rest.key` takes precedence.The following sections use the `gravitino.iceberg-rest.` prefix.@@ -102,28 +102,28 @@ The server-level `gravitino.fetchFile.blockUnsafeRemoteUri` configuration contro#### Auxiliary Service-| Configuration item | Description | Default value | Required | Since Version |-|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.auxService.names` | The auxiliary service name of the Gravitino Iceberg REST catalog service. Use **`iceberg-rest`**. | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.classpath` | The classpath of the Gravitino Iceberg REST catalog service; includes the directory containing jars and configuration. It supports both absolute and relative paths, for example, `iceberg-rest-server/libs, iceberg-rest-server/conf` | (none) | Yes | 0.2.0 |+| Configuration item | Description | Default value | Required |+|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.auxService.names` | The auxiliary service name of the Gravitino Iceberg REST catalog service. Use **`iceberg-rest`**. | (none) | Yes |+| `gravitino.iceberg-rest.classpath` | The classpath of the Gravitino Iceberg REST catalog service; includes the directory containing jars and configuration. It supports both absolute and relative paths, for example, `iceberg-rest-server/libs, iceberg-rest-server/conf` | (none) | Yes |These settings apply only to `gravitino.conf`.Do not add them to the standalone server configuration.#### HTTP Server-| Configuration item | Description | Default value | Required | Since Version |-|--------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|----------|---------------|-| `gravitino.iceberg-rest.host` | The host of the Gravitino Iceberg REST catalog service. | `0.0.0.0` | No | 0.2.0 |-| `gravitino.iceberg-rest.httpPort` | The port of the Gravitino Iceberg REST catalog service. | `9001` | No | 0.2.0 |-| `gravitino.iceberg-rest.minThreads` | The minimum number of threads in the thread pool used by the Jetty web server. `minThreads` is 8 if the value is less than 8. | `Math.max(Math.min(Runtime.getRuntime().availableProcessors() * 2, 100), 8)` | No | 0.2.0 |-| `gravitino.iceberg-rest.maxThreads` | The maximum number of threads in the thread pool used by the Jetty web server. `maxThreads` is 8 if the value is less than 8, and `maxThreads` must be greater than or equal to `minThreads`. | `Math.max(Runtime.getRuntime().availableProcessors() * 4, 400)` | No | 0.2.0 |-| `gravitino.iceberg-rest.threadPoolWorkQueueSize` | The size of the queue in the thread pool used by Gravitino Iceberg REST catalog service. | `100` | No | 0.2.0 |-| `gravitino.iceberg-rest.stopTimeout` | The amount of time in ms for the Gravitino Iceberg REST catalog service to stop gracefully. For more information, see `org.eclipse.jetty.server.Server#setStopTimeout`. | `30000` | No | 0.2.0 |-| `gravitino.iceberg-rest.idleTimeout` | The timeout in ms of idle connections. | `30000` | No | 0.2.0 |-| `gravitino.iceberg-rest.requestHeaderSize` | The maximum size of an HTTP request. | `131072` | No | 0.2.0 |-| `gravitino.iceberg-rest.responseHeaderSize` | The maximum size of an HTTP response. | `131072` | No | 0.2.0 |-| `gravitino.iceberg-rest.customFilters` | Comma-separated list of filter class names to apply to the APIs. | (none) | No | 0.4.0 |+| Configuration item | Description | Default value | Required |+|--------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|----------|+| `gravitino.iceberg-rest.host` | The host of the Gravitino Iceberg REST catalog service. | `0.0.0.0` | No |+| `gravitino.iceberg-rest.httpPort` | The port of the Gravitino Iceberg REST catalog service. | `9001` | No |+| `gravitino.iceberg-rest.minThreads` | The minimum number of threads in the thread pool used by the Jetty web server. `minThreads` is 8 if the value is less than 8. | `Math.max(Math.min(Runtime.getRuntime().availableProcessors() * 2, 100), 8)` | No |+| `gravitino.iceberg-rest.maxThreads` | The maximum number of threads in the thread pool used by the Jetty web server. `maxThreads` is 8 if the value is less than 8, and `maxThreads` must be greater than or equal to `minThreads`. | `Math.max(Runtime.getRuntime().availableProcessors() * 4, 400)` | No |+| `gravitino.iceberg-rest.threadPoolWorkQueueSize` | The size of the queue in the thread pool used by Gravitino Iceberg REST catalog service. | `100` | No |+| `gravitino.iceberg-rest.stopTimeout` | The amount of time in ms for the Gravitino Iceberg REST catalog service to stop gracefully. For more information, see `org.eclipse.jetty.server.Server#setStopTimeout`. | `30000` | No |+| `gravitino.iceberg-rest.idleTimeout` | The timeout in ms of idle connections. | `30000` | No |+| `gravitino.iceberg-rest.requestHeaderSize` | The maximum size of an HTTP request. | `131072` | No |+| `gravitino.iceberg-rest.responseHeaderSize` | The maximum size of an HTTP response. | `131072` | No |+| `gravitino.iceberg-rest.customFilters` | Comma-separated list of filter class names to apply to the APIs. | (none) | No |The filter in `customFilters` should be a standard javax servlet filter.Specify filter parameters by setting configuration entries in the style `gravitino.iceberg-rest.<class name of filter>.param.<param name>=<value>`.@@ -138,15 +138,15 @@ The header name is case-insensitive (per the HTTP standard), but its value mustThe settings below tune the background workers and are optional.-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------------------------------|------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.async-cleanup.worker-threads` | Worker pool size per server. Each worker claims and runs cleanup jobs from the shared backend table. | `2` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.delete-threads` | Server-wide file-delete pool size shared by cleanup jobs. | `4` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.delete-batch-size` | Number of files per bulk-delete batch. | `1000` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.poll-interval-secs` | Worker polling interval in seconds. This also controls retry pacing for pending jobs. | `5` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.heartbeat-timeout-secs` | Age in seconds after which a running job with no fresh heartbeat can be reclaimed by another worker. | `300` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.max-attempts` | Number of failed attempts before a cleanup job is marked `FAILED`. | `5` | No | 1.3.0 |-| `gravitino.iceberg-rest.async-cleanup.retention-hours` | Retention time for terminal `SUCCEEDED` or `FAILED` cleanup rows before pruning. | `720` | No | 1.3.0 |+| Configuration item | Description | Default value | Required |+|---------------------------------------------------------------|------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.async-cleanup.worker-threads` | Worker pool size per server. Each worker claims and runs cleanup jobs from the shared backend table. | `2` | No |+| `gravitino.iceberg-rest.async-cleanup.delete-threads` | Server-wide file-delete pool size shared by cleanup jobs. | `4` | No |+| `gravitino.iceberg-rest.async-cleanup.delete-batch-size` | Number of files per bulk-delete batch. | `1000` | No |+| `gravitino.iceberg-rest.async-cleanup.poll-interval-secs` | Worker polling interval in seconds. This also controls retry pacing for pending jobs. | `5` | No |+| `gravitino.iceberg-rest.async-cleanup.heartbeat-timeout-secs` | Age in seconds after which a running job with no fresh heartbeat can be reclaimed by another worker. | `300` | No |+| `gravitino.iceberg-rest.async-cleanup.max-attempts` | Number of failed attempts before a cleanup job is marked `FAILED`. | `5` | No |+| `gravitino.iceberg-rest.async-cleanup.retention-hours` | Retention time for terminal `SUCCEEDED` or `FAILED` cleanup rows before pruning. | `720` | No |### Catalog Backend Configuration@@ -156,29 +156,29 @@ The Gravitino Iceberg REST catalog service uses the memory catalog backend by de#### Hive Backend Configuration-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|----------|---------------|-| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`hive`** for the Hive catalog backend. | `memory` | Yes | 0.2.0 |-| `gravitino.iceberg-rest.uri` | The Hive metadata address, such as `thrift://127.0.0.1:9083`. | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.warehouse` | The warehouse directory of the Hive catalog, such as `/user/hive/warehouse-hive/`. | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.catalog-backend-name` | The catalog backend name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | `hive` for Hive backend, `jdbc` for JDBC backend, `memory` for memory backend | No | 0.5.2 |+| Configuration item | Description | Default value | Required |+|-----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|----------|+| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`hive`** for the Hive catalog backend. | `memory` | Yes |+| `gravitino.iceberg-rest.uri` | The Hive metadata address, such as `thrift://127.0.0.1:9083`. | (none) | Yes |+| `gravitino.iceberg-rest.warehouse` | The warehouse directory of the Hive catalog, such as `/user/hive/warehouse-hive/`. | (none) | Yes |+| `gravitino.iceberg-rest.catalog-backend-name` | The catalog backend name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | `hive` for Hive backend, `jdbc` for JDBC backend, `memory` for memory backend | No |For Kerberos-secured Hive Metastore and HDFS, see [Backend Authentication](#backend-authentication).#### JDBC Backend Configuration-| Configuration item | Description | Default value | Required | Since Version |-|-----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|----------|---------------|-| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`jdbc`** for the JDBC catalog backend. | `memory` | Yes | 0.2.0 |-| `gravitino.iceberg-rest.uri` | The JDBC connection address, such as `jdbc:postgresql://127.0.0.1:5432` for Postgres, or `jdbc:mysql://127.0.0.1:3306/` for mysql. | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.warehouse` | The warehouse directory of JDBC catalog. Set the HDFS prefix if using HDFS, such as `hdfs://127.0.0.1:9000/user/hive/warehouse-jdbc` | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.catalog-backend-name` | The catalog name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | `jdbc` for JDBC backend | No | 0.5.2 |-| `gravitino.iceberg-rest.jdbc-user` | The username of the JDBC connection. | (none) | No | 0.2.0 |-| `gravitino.iceberg-rest.jdbc-password` | The password of the JDBC connection. | (none) | No | 0.2.0 |-| `gravitino.iceberg-rest.jdbc-initialize` | Whether to initialize the meta tables when creating the JDBC catalog. | `true` | No | 0.2.0 |-| `gravitino.iceberg-rest.jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL. | (none) | Yes | 0.3.0 |-| `gravitino.iceberg-rest.jdbc-schema-version` | The schema version of the JDBC catalog. Defaults to `V1` to enable view support. Set to `V0` only if you need to opt out of view support. Once the underlying database is migrated to V1, this property is no longer required on subsequent restarts. | `V1` | No | 1.2.0 |-| `gravitino.iceberg-rest.jdbc.strict-mode` | Whether the JDBC catalog runs in strict mode. Defaults to `true` so that creating a table or view in a namespace that does not exist fails with `NoSuchNamespace` (HTTP 404), matching the Iceberg REST specification. Set to `false` to restore the legacy behavior of implicitly creating the namespace. | `true` | No | 1.3.0 |+| Configuration item | Description | Default value | Required |+|-----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|----------|+| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`jdbc`** for the JDBC catalog backend. | `memory` | Yes |+| `gravitino.iceberg-rest.uri` | The JDBC connection address, such as `jdbc:postgresql://127.0.0.1:5432` for Postgres, or `jdbc:mysql://127.0.0.1:3306/` for mysql. | (none) | Yes |+| `gravitino.iceberg-rest.warehouse` | The warehouse directory of JDBC catalog. Set the HDFS prefix if using HDFS, such as `hdfs://127.0.0.1:9000/user/hive/warehouse-jdbc` | (none) | Yes |+| `gravitino.iceberg-rest.catalog-backend-name` | The catalog name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | `jdbc` for JDBC backend | No |+| `gravitino.iceberg-rest.jdbc-user` | The username of the JDBC connection. | (none) | No |+| `gravitino.iceberg-rest.jdbc-password` | The password of the JDBC connection. | (none) | No |+| `gravitino.iceberg-rest.jdbc-initialize` | Whether to initialize the meta tables when creating the JDBC catalog. | `true` | No |+| `gravitino.iceberg-rest.jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL. | (none) | Yes |+| `gravitino.iceberg-rest.jdbc-schema-version` | The schema version of the JDBC catalog. Defaults to `V1` to enable view support. Set to `V0` only if you need to opt out of view support. Once the underlying database is migrated to V1, this property is no longer required on subsequent restarts. | `V1` | No |+| `gravitino.iceberg-rest.jdbc.strict-mode` | Whether the JDBC catalog runs in strict mode. Defaults to `true` so that creating a table or view in a namespace that does not exist fails with `NoSuchNamespace` (HTTP 404), matching the Iceberg REST specification. Set to `false` to restore the legacy behavior of implicitly creating the namespace. | `true` | No |If you have a JDBC Iceberg catalog prior, you must set `catalog-backend-name` to keep consistent with your Jdbc Iceberg catalog name to operate the prior namespace and tables.@@ -195,15 +195,15 @@ Use the REST backend to proxy another Iceberg REST catalog server (IRC2). The GrBy default, when the backend catalog is a REST catalog, IRC1 skips authorization and behaves as a proxy. IRC2 handles authorization. If you want IRC1 to keep authorization checks, set `gravitino.iceberg-rest.disable-rest-authz=false`.-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`rest`** for the REST catalog backend. | `memory` | Yes | 0.2.0 |-| `gravitino.iceberg-rest.uri` | The Iceberg REST catalog URI (IRC2), such as `http://127.0.0.1:9001/iceberg`. | (none) | Yes | 0.2.0 |-| `gravitino.iceberg-rest.warehouse` | The catalog name in the Iceberg REST spec. Set to a specific catalog name, or leave empty to use the default catalog on IRC2. | (none) | No | 0.2.0 |-| `gravitino.iceberg-rest.rest-client-connection-timeout-ms` | The HTTP connection timeout in milliseconds for IRC1 requests to the REST catalog backend. | `10000` | No | 1.3.0 |-| `gravitino.iceberg-rest.rest-client-socket-timeout-ms` | The HTTP socket timeout in milliseconds for IRC1 requests to the REST catalog backend. | `60000` | No | 1.3.0 |-| `gravitino.iceberg-rest.data-access` | Data access mode exposed to Iceberg REST clients via `/v1/config`. Supported values: `vended-credentials`, `remote-signing`. | (none) | No | 1.3.0 |-| `gravitino.iceberg-rest.disable-rest-authz` | Whether IRC1 disables authorization when the target backend catalog is a REST catalog. Set to `false` if you want IRC1 to enforce authorization before proxying. | `true` | No | 1.3.0 |+| Configuration item | Description | Default value | Required |+|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`rest`** for the REST catalog backend. | `memory` | Yes |+| `gravitino.iceberg-rest.uri` | The Iceberg REST catalog URI (IRC2), such as `http://127.0.0.1:9001/iceberg`. | (none) | Yes |+| `gravitino.iceberg-rest.warehouse` | The catalog name in the Iceberg REST spec. Set to a specific catalog name, or leave empty to use the default catalog on IRC2. | (none) | No |+| `gravitino.iceberg-rest.rest-client-connection-timeout-ms` | The HTTP connection timeout in milliseconds for IRC1 requests to the REST catalog backend. | `10000` | No |+| `gravitino.iceberg-rest.rest-client-socket-timeout-ms` | The HTTP socket timeout in milliseconds for IRC1 requests to the REST catalog backend. | `60000` | No |+| `gravitino.iceberg-rest.data-access` | Data access mode exposed to Iceberg REST clients via `/v1/config`. Supported values: `vended-credentials`, `remote-signing`. | (none) | No |+| `gravitino.iceberg-rest.disable-rest-authz` | Whether IRC1 disables authorization when the target backend catalog is a REST catalog. Set to `false` if you want IRC1 to enforce authorization before proxying. | `true` | No |IRC1 configuration example if IRC2 using HDFS storage:@@ -237,10 +237,10 @@ If IRC2 does not enforce authorization, keeping `gravitino.iceberg-rest.disable-#### Custom Backend Configuration-| Configuration item | Description | Default value | Required | Since Version |-|-----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------|----------|------------------|-| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`custom`** for the custom catalog backend. | `memory` | Yes | 0.2.0 |-| `gravitino.iceberg-rest.catalog-backend-impl` | The fully-qualified class name of a custom catalog implementation, only worked if `catalog-backend` is `custom`. | (none) | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|-----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.catalog-backend` | The Catalog backend of the Gravitino Iceberg REST catalog service. Use the value **`custom`** for the custom catalog backend. | `memory` | Yes |+| `gravitino.iceberg-rest.catalog-backend-impl` | The fully-qualified class name of a custom catalog implementation, only worked if `catalog-backend` is `custom`. | (none) | No |If you want to use a custom Iceberg Catalog as `catalog-backend`, you can add a corresponding jar file to the classpath and load a custom Iceberg Catalog implementation by specifying the `catalog-backend-impl` property.@@ -248,9 +248,9 @@ If you want to use a custom Iceberg Catalog as `catalog-backend`, you can add aThe Gravitino Iceberg REST server supports multiple catalog backend, and you could use `catalog-config-provider` to control the behavior about how to manage catalog backend configurations.-| Configuration item | Description | Default value | Required | Since Version |-|--------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|----------|------------------|-| `gravitino.iceberg-rest.catalog-config-provider` | The className of catalog configuration provider, Gravitino provides build-in `static-config-provider` and `dynamic-config-provider`, you could also develop a custom class that implements `apache.gravitino.iceberg.service.provider.IcebergConfigProvider` and add the corresponding jar file to the Iceberg REST service classpath directory. | `static-config-provider` | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|--------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|----------|+| `gravitino.iceberg-rest.catalog-config-provider` | The className of catalog configuration provider, Gravitino provides build-in `static-config-provider` and `dynamic-config-provider`, you could also develop a custom class that implements `apache.gravitino.iceberg.service.provider.IcebergConfigProvider` and add the corresponding jar file to the Iceberg REST service classpath directory. | `static-config-provider` | No |Use `static-config-provider` to manage catalog configuration in the file, the catalog configuration is loaded when the server start up and couldn't be changed.While `dynamic-config-provider` is used to manage catalog config through Gravitino server, you could add&delete&change the catalog configurations dynamically.@@ -280,12 +280,12 @@ gravitino.iceberg-rest.catalog.jdbc_backend.warehouse = hdfs://127.0.0.1:9000/usThe dynamic catalog configuration provider retrieves the catalog configuration from the Gravitino server, and the catalog configuration could be updated dynamically.-| Configuration item | Description | Default value | Required | Since Version |-|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------------------------------------------------------------------|------------------|-| `gravitino.iceberg-rest.gravitino-uri` | The uri of Gravitino server address, only worked if `catalog-config-provider` is `dynamic-config-provider`. Not required when running as an auxiliary service embedded in Gravitino server. | (none) | Yes, when using `dynamic-config-provider` in standalone mode | 0.7.0-incubating |-| `gravitino.iceberg-rest.gravitino-metalake` | The metalake name that `dynamic-config-provider` used to request to Gravitino, only worked if `catalog-config-provider` is `dynamic-config-provider`. | (none) | Yes, when using `dynamic-config-provider` | 0.7.0-incubating |-| `gravitino.iceberg-rest.default-catalog-name` | The default catalog name used by Iceberg REST server if the Iceberg REST client doesn't specify the catalog name explicitly. Only worked if `catalog-config-provider` is `dynamic-config-provider`. | (none) | No | 1.0.0 |-| `gravitino.iceberg-rest.catalog-cache-eviction-interval-ms` | Catalog cache eviction interval. | 3600000 | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|--------------------------------------------------------------|+| `gravitino.iceberg-rest.gravitino-uri` | The uri of Gravitino server address, only worked if `catalog-config-provider` is `dynamic-config-provider`. Not required when running as an auxiliary service embedded in Gravitino server. | (none) | Yes, when using `dynamic-config-provider` in standalone mode |+| `gravitino.iceberg-rest.gravitino-metalake` | The metalake name that `dynamic-config-provider` used to request to Gravitino, only worked if `catalog-config-provider` is `dynamic-config-provider`. | (none) | Yes, when using `dynamic-config-provider` |+| `gravitino.iceberg-rest.default-catalog-name` | The default catalog name used by Iceberg REST server if the Iceberg REST client doesn't specify the catalog name explicitly. Only worked if `catalog-config-provider` is `dynamic-config-provider`. | (none) | No |+| `gravitino.iceberg-rest.catalog-cache-eviction-interval-ms` | Catalog cache eviction interval. | 3600000 | No |:::tipWhen using `dynamic-config-provider`, the behavior differs based on deployment mode:@@ -337,14 +337,14 @@ Refer to [OAuth2 Configuration](./security/how-to-authenticate#server-configuratWhen enabling OAuth2 and leveraging a dynamic configuration provider to retrieve catalog information from the Gravitino server, use the following configuration parameters to establish OAuth2 authentication for secure communication with the Gravitino server:-| Configuration item | Description | Default value | Required | Since Version |-|------------------------------------------------------|--------------------------------------------------------------------------------------------------|-----------------------|-------------------|---------------|-| `gravitino.iceberg-rest.gravitino-auth-type` | The auth type for communicating with the Gravitino server. Supported values: `simple`, `oauth2`. | `simple` | No | 1.0.0 |-| `gravitino.iceberg-rest.gravitino-simple.user-name` | The username when using `simple` auth type. | `iceberg-rest-server` | No | 1.0.0 |-| `gravitino.iceberg-rest.gravitino-oauth2.server-uri` | The OAuth2 server uri address. | (none) | Yes, for `oauth2` | 1.0.0 |-| `gravitino.iceberg-rest.gravitino-oauth2.credential` | The credential to request the OAuth2 token. | (none) | Yes, for `oauth2` | 1.0.0 |-| `gravitino.iceberg-rest.gravitino-oauth2.token-path` | The path for token of the default OAuth server. | (none) | Yes, for `oauth2` | 1.0.0 |-| `gravitino.iceberg-rest.gravitino-oauth2.scope` | The scope to request the OAuth2 token. | (none) | Yes, for `oauth2` | 1.0.0 |+| Configuration item | Description | Default value | Required |+|------------------------------------------------------|--------------------------------------------------------------------------------------------------|-----------------------|-------------------|+| `gravitino.iceberg-rest.gravitino-auth-type` | The auth type for communicating with the Gravitino server. Supported values: `simple`, `oauth2`. | `simple` | No |+| `gravitino.iceberg-rest.gravitino-simple.user-name` | The username when using `simple` auth type. | `iceberg-rest-server` | No |+| `gravitino.iceberg-rest.gravitino-oauth2.server-uri` | The OAuth2 server uri address. | (none) | Yes, for `oauth2` |+| `gravitino.iceberg-rest.gravitino-oauth2.credential` | The credential to request the OAuth2 token. | (none) | Yes, for `oauth2` |+| `gravitino.iceberg-rest.gravitino-oauth2.token-path` | The path for token of the default OAuth server. | (none) | Yes, for `oauth2` |+| `gravitino.iceberg-rest.gravitino-oauth2.scope` | The scope to request the OAuth2 token. | (none) | Yes, for `oauth2` |Here is an example of how to enable OAuth2 for Gravitino Iceberg REST server:@@ -393,8 +393,8 @@ These are often linked to identity providers without full token exchange supportThe following Apache Iceberg change is relevant to this behavior:-| Version | Change |-|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|+| Version | Change |+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| Iceberg 1.11.0+ | Supports disabling token exchange, renewing tokens with client credentials, and ensuring that child `AuthSession` instances use their own expiration instead of inheriting the parent session expiration. |**Apache Iceberg OAuth 2.0 configuration**@@ -438,15 +438,15 @@ For the Hive catalog backend, `gravitino.iceberg-rest.authentication.type` contrThe detailed configuration items are as follows:-| Configuration item | Description | Default value | Required | Since Version |-| ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |-| `gravitino.iceberg-rest.authentication.type` | The authentication type for HDFS warehouse access. Supports `kerberos` and `simple` for Hive and JDBC catalog backends. | `simple` | No | 0.7.0-incubating |-| `gravitino.iceberg-rest.authentication.impersonation-enable` | Whether to enable impersonation for the Iceberg catalog. | `false` | No | 0.7.0-incubating |-| `gravitino.iceberg-rest.hive.metastore.sasl.enabled` | Whether to enable SASL when connecting to a Kerberos Hive Metastore. | `false` | No. Set to true in most cases when `gravitino.iceberg-rest.authentication.type` is `kerberos` (some deployments use SSL instead, but that is rare). | 0.7.0-incubating |-| `gravitino.iceberg-rest.authentication.kerberos.principal` | The principal for Kerberos authentication. | (none) | Yes, if `gravitino.iceberg-rest.authentication.type` is `kerberos`. | 0.7.0-incubating |-| `gravitino.iceberg-rest.authentication.kerberos.keytab-uri` | The URI of the keytab for Kerberos authentication. | (none) | Yes, if `gravitino.iceberg-rest.authentication.type` is `kerberos`. | 0.7.0-incubating |-| `gravitino.iceberg-rest.authentication.kerberos.check-interval-sec` | The check interval of Kerberos credential for the Iceberg catalog. | 60 | No | 0.7.0-incubating |-| `gravitino.iceberg-rest.authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout for retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60 | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|+| `gravitino.iceberg-rest.authentication.type` | The authentication type for HDFS warehouse access. Supports `kerberos` and `simple` for Hive and JDBC catalog backends. | `simple` | No |+| `gravitino.iceberg-rest.authentication.impersonation-enable` | Whether to enable impersonation for the Iceberg catalog. | `false` | No |+| `gravitino.iceberg-rest.hive.metastore.sasl.enabled` | Whether to enable SASL when connecting to a Kerberos Hive Metastore. | `false` | No. Set to true in most cases when `gravitino.iceberg-rest.authentication.type` is `kerberos` (some deployments use SSL instead, but that is rare). |+| `gravitino.iceberg-rest.authentication.kerberos.principal` | The principal for Kerberos authentication. | (none) | Yes, if `gravitino.iceberg-rest.authentication.type` is `kerberos`. |+| `gravitino.iceberg-rest.authentication.kerberos.keytab-uri` | The URI of the keytab for Kerberos authentication. | (none) | Yes, if `gravitino.iceberg-rest.authentication.type` is `kerberos`. |+| `gravitino.iceberg-rest.authentication.kerberos.check-interval-sec` | The check interval of Kerberos credential for the Iceberg catalog. | 60 | No |+| `gravitino.iceberg-rest.authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout for retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60 | No |Kerberos applies to **HDFS warehouse** access.@@ -538,12 +538,12 @@ on the URI scheme:#### S3-| Configuration item | Description | Default value | Required | Since Version |-|-----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aws.s3.S3FileIO` to explicitly use S3FileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |-| `gravitino.iceberg-rest.s3-endpoint` | An alternative endpoint of the S3 service, This could be used for S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud. | (none) | No | 0.6.0-incubating |-| `gravitino.iceberg-rest.s3-region` | The region of the S3 service, like `us-west-2`. | (none) | No | 0.6.0-incubating |-| `gravitino.iceberg-rest.s3-path-style-access` | Whether to use path style access for S3. | false | No | 0.9.0-incubating |+| Configuration item | Description | Default value | Required |+|-----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aws.s3.S3FileIO` to explicitly use S3FileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |+| `gravitino.iceberg-rest.s3-endpoint` | An alternative endpoint of the S3 service, This could be used for S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud. | (none) | No |+| `gravitino.iceberg-rest.s3-region` | The region of the S3 service, like `us-west-2`. | (none) | No |+| `gravitino.iceberg-rest.s3-path-style-access` | Whether to use path style access for S3. | false | No |For other Iceberg s3 properties not managed by Gravitino like `s3.sse.type`, you could config it directly by `gravitino.iceberg-rest.s3.sse.type`.@@ -557,11 +557,11 @@ Refer to [S3 credentials](./security/credential-vending.md#s3-credentials) for c#### OSS-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aliyun.oss.OSSFileIO` to explicitly use OSSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |-| `gravitino.iceberg-rest.oss-endpoint` | The endpoint of Aliyun OSS service. | (none) | No | 0.7.0-incubating |-| `gravitino.iceberg-rest.oss-region` | The region of the OSS service, like `oss-cn-hangzhou`, only used when `credential-providers` is `oss-token`. | (none) | No | 0.8.0-incubating |+| Configuration item | Description | Default value | Required |+|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aliyun.oss.OSSFileIO` to explicitly use OSSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |+| `gravitino.iceberg-rest.oss-endpoint` | The endpoint of Aliyun OSS service. | (none) | No |+| `gravitino.iceberg-rest.oss-region` | The region of the OSS service, like `oss-cn-hangzhou`, only used when `credential-providers` is `oss-token`. | (none) | No |For other Iceberg OSS properties not managed by Gravitino like `client.security-token`, you could config it directly by `gravitino.iceberg-rest.client.security-token`.@@ -577,9 +577,9 @@ Please set the `gravitino.iceberg-rest.warehouse` parameter to `oss://{bucket_naSupports using static GCS credential file or generating GCS token to access GCS data.-| Configuration item | Description | Default value | Required | Since Version |-|----------------------------------|------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.gcp.gcs.GCSFileIO` to explicitly use GCSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |+| Configuration item | Description | Default value | Required |+|----------------------------------|------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.gcp.gcs.GCSFileIO` to explicitly use GCSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |For other Iceberg GCS properties not managed by Gravitino like `gcs.project-id`, you could config it directly by `gravitino.iceberg-rest.gcs.project-id`.@@ -595,9 +595,9 @@ Please set `gravitino.iceberg-rest.warehouse` to `gs://{bucket_name}/${prefix_na#### ADLS-| Configuration item | Description | Default value | Required | Since Version |-|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.azure.adlsv2.ADLSFileIO` to explicitly use ADLSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.8.0-incubating |+| Configuration item | Description | Default value | Required |+|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.azure.adlsv2.ADLSFileIO` to explicitly use ADLSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |For other Iceberg ADLS properties not managed by Gravitino like `adls.read.block-size-bytes`, you could config it directly by `gravitino.iceberg-rest.adls.read.block-size-bytes`.@@ -619,9 +619,9 @@ Builds with Hadoop 2.10.x. There may be compatibility issues when accessing HadoFor storages not managed by Gravitino directly, configure them through custom catalog properties.-| Configuration item | Description | Default value | Required | Since Version |-|----------------------------------|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Use the fully qualified class name to override the default implementation. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |+| Configuration item | Description | Default value | Required |+|----------------------------------|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `gravitino.iceberg-rest.io-impl` | The IO implementation for `FileIO` in Iceberg. Use the fully qualified class name to override the default implementation. | `org.apache.iceberg.io.ResolvingFileIO` | No |To pass custom properties such as `security-token` to your custom `FileIO`, configure them via `gravitino.iceberg-rest.security-token`. The `security-token` is included in the properties when the `FileIO` initialize method is invoked.@@ -635,9 +635,9 @@ Please set the `gravitino.iceberg-rest.warehouse` parameter to `{storage_prefix}View operations are supported when using the JDBC catalog backend with schema version `V1`. The default schema version is now `V1`, so view support is enabled out of the box. Iceberg will automatically migrate the database schema on the first restart and detect the migration on all subsequent restarts.-| Configuration item | Description | Default value | Required | Since Version |-|----------------------------------------------|----------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.jdbc-schema-version` | The schema version of the JDBC catalog backend. Defaults to `V1` to enable view operations. Set to `V0` to opt out. | `V1` | No | 1.2.0 |+| Configuration item | Description | Default value | Required |+|----------------------------------------------|---------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.jdbc-schema-version` | The schema version of the JDBC catalog backend. Defaults to `V1` to enable view operations. Set to `V0` to opt out. | `V1` | No |#### Additional Iceberg Catalog Properties@@ -664,32 +664,32 @@ Gravitino provides a pluggable audit log mechanism, refer to [Audit log configurGravitino provides a pluggable metrics store interface to store and delete Iceberg metrics. Develop a class that implements `org.apache.gravitino.iceberg.service.metrics.IcebergMetricsStore` and add the corresponding jar file to the Iceberg REST service classpath directory.-| Configuration item | Description | Default value | Required | Since Version |-|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.metricsStore` | The Iceberg metrics storage class name. | (none) | No | 0.4.0 |-| `gravitino.iceberg-rest.metricsStoreRetainDays` | The days to retain Iceberg metrics in store, the value not greater than 0 means retain forever. | -1 | No | 0.4.0 |-| `gravitino.iceberg-rest.metricsQueueCapacity` | The size of queue to store metrics temporally before storing to the persistent storage. Metrics will be dropped when queue is full. | 1000 | No | 0.4.0 |+| Configuration item | Description | Default value | Required |+|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.metricsStore` | The Iceberg metrics storage class name. | (none) | No |+| `gravitino.iceberg-rest.metricsStoreRetainDays` | The days to retain Iceberg metrics in store, the value not greater than 0 means retain forever. | -1 | No |+| `gravitino.iceberg-rest.metricsQueueCapacity` | The size of queue to store metrics temporally before storing to the persistent storage. Metrics will be dropped when queue is full. | 1000 | No |If you want to use jdbc as metrics store, you can set the `gravitino.iceberg-rest.metricsStore` to `jdbc`, and set the following configurations to connect to the database.Initialize the database using the sql scripts in the directory `scripts`.Download the corresponding JDBC driver to the `iceberg-rest-server/libs` directory.-| Configuration item | Description | Default value | Required | Since Version |-|-----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.jdbc-metrics.url` | The JDBC connection address, such as `jdbc:postgresql://127.0.0.1:5432/database` for Postgres, or `jdbc:mysql://127.0.0.1:3306/database` for mysql. | (none) | Yes | 1.1.0 |-| `gravitino.iceberg-rest.jdbc-metrics.jdbc-user` | The username of the JDBC connection. | (none) | No | 1.1.0 |-| `gravitino.iceberg-rest.jdbc-metrics.jdbc-password` | The password of the JDBC connection. | (none) | No | 1.1.0 |-| `gravitino.iceberg-rest.jdbc-metrics.jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL. | (none) | Yes | 1.1.0 |+| Configuration item | Description | Default value | Required |+|-----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.jdbc-metrics.url` | The JDBC connection address, such as `jdbc:postgresql://127.0.0.1:5432/database` for Postgres, or `jdbc:mysql://127.0.0.1:3306/database` for mysql. | (none) | Yes |+| `gravitino.iceberg-rest.jdbc-metrics.jdbc-user` | The username of the JDBC connection. | (none) | No |+| `gravitino.iceberg-rest.jdbc-metrics.jdbc-password` | The password of the JDBC connection. | (none) | No |+| `gravitino.iceberg-rest.jdbc-metrics.jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL. | (none) | Yes |#### Table Metadata CacheGravitino features a pluggable cache system for updating or retrieving table metadata in the cache. It validates the location of table metadata against the catalog backend to ensure the correctness of cached data.-| Configuration item | Description | Default value | Required | Since Version |-|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|----------|---------------|-| `gravitino.iceberg-rest.table-metadata-cache-impl` | The implementation of the table metadata cache. Set to empty string("") if `catalog-backend` is `rest` catalog, or `custom` catalog without the `SupportsMetadataLocation` interface. | `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` | No | 1.1.0 |-| `gravitino.iceberg-rest.table-metadata-cache-capacity` | The capacity of the table metadata cache. | 1000 | No | 1.1.0 |-| `gravitino.iceberg-rest.table-metadata-cache-expire-minutes` | The expiration time (in minutes) of the table metadata cache. | 60 | No | 1.1.0 |+| Configuration item | Description | Default value | Required |+|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|----------|+| `gravitino.iceberg-rest.table-metadata-cache-impl` | The implementation of the table metadata cache. Set to empty string("") if `catalog-backend` is `rest` catalog, or `custom` catalog without the `SupportsMetadataLocation` interface. | `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` | No |+| `gravitino.iceberg-rest.table-metadata-cache-capacity` | The capacity of the table metadata cache. | 1000 | No |+| `gravitino.iceberg-rest.table-metadata-cache-expire-minutes` | The expiration time (in minutes) of the table metadata cache. | 60 | No |Gravitino provides the build-in `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` to store the cached data in the memory. You could also implement your custom table metadata cache by implementing the `org.apache.gravitino.iceberg.common.cache.TableMetadataCache` interface.@@ -699,11 +699,11 @@ Gravitino caches scan plan results to speed up repeated queries with identical pPlan scan responses follow the Iceberg 1.11 REST API: completed plans return structured `file-scan-tasks` only. Legacy `plan-tasks` JSON strings (used by some Iceberg 1.9.x–1.10.x clients) are not emitted.-| Configuration item | Description | Default value | Required | Since Version |-|------------------------------------------------------------|----------------------------------------------------------|---------------|----------|---------------|-| `gravitino.iceberg-rest.scan-plan-cache-impl` | The implementation of the scan plan cache. | (none) | No | 1.2.0 |-| `gravitino.iceberg-rest.scan-plan-cache-capacity` | The capacity of the scan plan cache. | 200 | No | 1.2.0 |-| `gravitino.iceberg-rest.scan-plan-cache-expire-minutes` | The expiration time (in minutes) of the scan plan cache. | 60 | No | 1.2.0 |+| Configuration item | Description | Default value | Required |+|---------------------------------------------------------|----------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.scan-plan-cache-impl` | The implementation of the scan plan cache. | (none) | No |+| `gravitino.iceberg-rest.scan-plan-cache-capacity` | The capacity of the scan plan cache. | 200 | No |+| `gravitino.iceberg-rest.scan-plan-cache-expire-minutes` | The expiration time (in minutes) of the scan plan cache. | 60 | No |The scan plan cache uses snapshot ID as part of the cache key, ensuring automatic invalidation when table data changes. This can provide significant speedup for repeated queries like dashboard refreshes or BI tool queries.@@ -711,9 +711,9 @@ Gravitino provides the built-in `org.apache.gravitino.iceberg.service.cache.Loca#### Extension Packages-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------------|--------------------------------------------------------------|---------------|----------|------------------|-| `gravitino.iceberg-rest.extension-packages` | Comma-separated list of Iceberg REST API packages to expand. | (none) | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|---------------------------------------------|--------------------------------------------------------------|---------------|----------|+| `gravitino.iceberg-rest.extension-packages` | Comma-separated list of Iceberg REST API packages to expand. | (none) | No |### Operations@@ -721,11 +721,11 @@ Gravitino provides the built-in `org.apache.gravitino.iceberg.service.cache.LocaThe Iceberg REST server exposes three health check endpoints following the same [MicroProfile Health](https://microprofile.io/project/eclipse/microprofile-health) semantics as the main Gravitino server. All endpoints are exempt from authentication. The readiness probe checks whether the `IcebergCatalogWrapperManager` has been initialized. It performs no I/O and has no configurable timeout.-| Endpoint | Description | HTTP status |-|------------------------------|----------------------------------------------------------------------------------------------------------------------------|-------------|-| `GET /iceberg/health/live` | Liveness probe. Returns 200 as long as the HTTP server thread can respond. | 200 |-| `GET /iceberg/health/ready` | Readiness probe. Returns 200 when the catalog wrapper manager is initialized; 503 when initialization is not yet complete. | 200 / 503 |-| `GET /iceberg/health` | Aggregate check. Returns 200 when both liveness and readiness pass; 503 when any check fails. | 200 / 503 |+| Endpoint | Description | HTTP status |+|-----------------------------|----------------------------------------------------------------------------------------------------------------------------|-------------|+| `GET /iceberg/health/live` | Liveness probe. Returns 200 as long as the HTTP server thread can respond. | 200 |+| `GET /iceberg/health/ready` | Readiness probe. Returns 200 when the catalog wrapper manager is initialized; 503 when initialization is not yet complete. | 200 / 503 |+| `GET /iceberg/health` | Aggregate check. Returns 200 when both liveness and readiness pass; 503 when any check fails. | 200 / 503 |Root-level aliases are also available for global traffic managers that require probes at well-known root paths:@@ -817,49 +817,49 @@ docker run -d -p 9001:9001 apache/gravitino-iceberg-rest:latestThe Docker image supports local storage by default.For cloud or remote storage, configure the corresponding [storage](#storage) settings through these environment variables:-| Environment Variable | Configuration items | Since version |-|----------------------------------------------------------------|------------------------------------------------------------|---------------|-| `GRAVITINO_ICEBERG_REST_HOST` | `gravitino.iceberg-rest.host` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_HTTP_PORT` | `gravitino.iceberg-rest.httpPort` | 1.1.0 |-| `GRAVITINO_ICEBERG_REST_URI` | `gravitino.iceberg-rest.uri` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_IO_IMPL` | `gravitino.iceberg-rest.io-impl` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_CATALOG_BACKEND` | `gravitino.iceberg-rest.catalog-backend` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_JDBC_DRIVER` | `gravitino.iceberg-rest.jdbc-driver` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_JDBC_USER` | `gravitino.iceberg-rest.jdbc-user` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_JDBC_PASSWORD` | `gravitino.iceberg-rest.jdbc-password` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_WAREHOUSE` | `gravitino.iceberg-rest.warehouse` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_REST_CLIENT_CONNECTION_TIMEOUT_MS` | `gravitino.iceberg-rest.rest-client-connection-timeout-ms` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_REST_CLIENT_SOCKET_TIMEOUT_MS` | `gravitino.iceberg-rest.rest-client-socket-timeout-ms` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_CREDENTIAL_PROVIDERS` | `gravitino.iceberg-rest.credential-providers` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_GCS_SERVICE_ACCOUNT_FILE` | `gravitino.iceberg-rest.gcs-service-account-file` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_ACCESS_KEY` | `gravitino.iceberg-rest.s3-access-key-id` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_SECRET_KEY` | `gravitino.iceberg-rest.s3-secret-access-key` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_ENDPOINT` | `gravitino.iceberg-rest.s3-endpoint` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_REGION` | `gravitino.iceberg-rest.s3-region` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_PATH_STYLE_ACCESS` | `gravitino.iceberg-rest.s3-path-style-access` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_ROLE_ARN` | `gravitino.iceberg-rest.s3-role-arn` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_EXTERNAL_ID` | `gravitino.iceberg-rest.s3-external-id` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_S3_TOKEN_SERVICE_ENDPOINT` | `gravitino.iceberg-rest.s3-token-service-endpoint` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_AZURE_STORAGE_ACCOUNT_NAME` | `gravitino.iceberg-rest.azure-storage-account-name` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_AZURE_STORAGE_ACCOUNT_KEY` | `gravitino.iceberg-rest.azure-storage-account-key` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_AZURE_TENANT_ID` | `gravitino.iceberg-rest.azure-tenant-id` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_AZURE_CLIENT_ID` | `gravitino.iceberg-rest.azure-client-id` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_AZURE_CLIENT_SECRET` | `gravitino.iceberg-rest.azure-client-secret` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_ACCESS_KEY` | `gravitino.iceberg-rest.oss-access-key-id` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_SECRET_KEY` | `gravitino.iceberg-rest.oss-secret-access-key` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_ENDPOINT` | `gravitino.iceberg-rest.oss-endpoint` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_REGION` | `gravitino.iceberg-rest.oss-region` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_ROLE_ARN` | `gravitino.iceberg-rest.oss-role-arn` | 1.3.0 |-| `GRAVITINO_ICEBERG_REST_OSS_EXTERNAL_ID` | `gravitino.iceberg-rest.oss-external-id` | 1.3.0 |+| Environment Variable | Configuration items |+|------------------------------------------------------------|------------------------------------------------------------|+| `GRAVITINO_ICEBERG_REST_HOST` | `gravitino.iceberg-rest.host` |+| `GRAVITINO_ICEBERG_REST_HTTP_PORT` | `gravitino.iceberg-rest.httpPort` |+| `GRAVITINO_ICEBERG_REST_URI` | `gravitino.iceberg-rest.uri` |+| `GRAVITINO_ICEBERG_REST_IO_IMPL` | `gravitino.iceberg-rest.io-impl` |+| `GRAVITINO_ICEBERG_REST_CATALOG_BACKEND` | `gravitino.iceberg-rest.catalog-backend` |+| `GRAVITINO_ICEBERG_REST_JDBC_DRIVER` | `gravitino.iceberg-rest.jdbc-driver` |+| `GRAVITINO_ICEBERG_REST_JDBC_USER` | `gravitino.iceberg-rest.jdbc-user` |+| `GRAVITINO_ICEBERG_REST_JDBC_PASSWORD` | `gravitino.iceberg-rest.jdbc-password` |+| `GRAVITINO_ICEBERG_REST_WAREHOUSE` | `gravitino.iceberg-rest.warehouse` |+| `GRAVITINO_ICEBERG_REST_REST_CLIENT_CONNECTION_TIMEOUT_MS` | `gravitino.iceberg-rest.rest-client-connection-timeout-ms` |+| `GRAVITINO_ICEBERG_REST_REST_CLIENT_SOCKET_TIMEOUT_MS` | `gravitino.iceberg-rest.rest-client-socket-timeout-ms` |+| `GRAVITINO_ICEBERG_REST_CREDENTIAL_PROVIDERS` | `gravitino.iceberg-rest.credential-providers` |+| `GRAVITINO_ICEBERG_REST_GCS_SERVICE_ACCOUNT_FILE` | `gravitino.iceberg-rest.gcs-service-account-file` |+| `GRAVITINO_ICEBERG_REST_S3_ACCESS_KEY` | `gravitino.iceberg-rest.s3-access-key-id` |+| `GRAVITINO_ICEBERG_REST_S3_SECRET_KEY` | `gravitino.iceberg-rest.s3-secret-access-key` |+| `GRAVITINO_ICEBERG_REST_S3_ENDPOINT` | `gravitino.iceberg-rest.s3-endpoint` |+| `GRAVITINO_ICEBERG_REST_S3_REGION` | `gravitino.iceberg-rest.s3-region` |+| `GRAVITINO_ICEBERG_REST_S3_PATH_STYLE_ACCESS` | `gravitino.iceberg-rest.s3-path-style-access` |+| `GRAVITINO_ICEBERG_REST_S3_ROLE_ARN` | `gravitino.iceberg-rest.s3-role-arn` |+| `GRAVITINO_ICEBERG_REST_S3_EXTERNAL_ID` | `gravitino.iceberg-rest.s3-external-id` |+| `GRAVITINO_ICEBERG_REST_S3_TOKEN_SERVICE_ENDPOINT` | `gravitino.iceberg-rest.s3-token-service-endpoint` |+| `GRAVITINO_ICEBERG_REST_AZURE_STORAGE_ACCOUNT_NAME` | `gravitino.iceberg-rest.azure-storage-account-name` |+| `GRAVITINO_ICEBERG_REST_AZURE_STORAGE_ACCOUNT_KEY` | `gravitino.iceberg-rest.azure-storage-account-key` |+| `GRAVITINO_ICEBERG_REST_AZURE_TENANT_ID` | `gravitino.iceberg-rest.azure-tenant-id` |+| `GRAVITINO_ICEBERG_REST_AZURE_CLIENT_ID` | `gravitino.iceberg-rest.azure-client-id` |+| `GRAVITINO_ICEBERG_REST_AZURE_CLIENT_SECRET` | `gravitino.iceberg-rest.azure-client-secret` |+| `GRAVITINO_ICEBERG_REST_OSS_ACCESS_KEY` | `gravitino.iceberg-rest.oss-access-key-id` |+| `GRAVITINO_ICEBERG_REST_OSS_SECRET_KEY` | `gravitino.iceberg-rest.oss-secret-access-key` |+| `GRAVITINO_ICEBERG_REST_OSS_ENDPOINT` | `gravitino.iceberg-rest.oss-endpoint` |+| `GRAVITINO_ICEBERG_REST_OSS_REGION` | `gravitino.iceberg-rest.oss-region` |+| `GRAVITINO_ICEBERG_REST_OSS_ROLE_ARN` | `gravitino.iceberg-rest.oss-role-arn` |+| `GRAVITINO_ICEBERG_REST_OSS_EXTERNAL_ID` | `gravitino.iceberg-rest.oss-external-id` |### Deprecated Environment VariablesUse the replacement environment variables instead of these deprecated names.-| Deprecated Environment variables | New environment variables | Since version | Deprecated version |-|----------------------------------------------------------|------------------------------------------------------|------------------|--------------------|-| `GRAVITINO_CREDENTIAL_PROVIDER_TYPE` | `GRAVITINO_ICEBERG_REST_CREDENTIAL_PROVIDERS` | 0.7.0-incubating | 0.8.0-incubating |-| `GRAVITINO_GCS_CREDENTIAL_FILE_PATH` | `GRAVITINO_ICEBERG_REST_GCS_SERVICE_ACCOUNT_FILE` | 0.7.0-incubating | 0.8.0-incubating |+| Deprecated Environment variables | New environment variables | Deprecated version |+|--------------------------------------|---------------------------------------------------|--------------------|+| `GRAVITINO_CREDENTIAL_PROVIDER_TYPE` | `GRAVITINO_ICEBERG_REST_CREDENTIAL_PROVIDERS` | 0.8.0-incubating |+| `GRAVITINO_GCS_CREDENTIAL_FILE_PATH` | `GRAVITINO_ICEBERG_REST_GCS_SERVICE_ACCOUNT_FILE` | 0.8.0-incubating |### Custom Image Builddiff --git a/docs/lakehouse-generic-catalog.md b/docs/lakehouse-generic-catalog.mdindex 263b552c88..798d8ad0e2 100644--- a/docs/lakehouse-generic-catalog.md+++ b/docs/lakehouse-generic-catalog.md@@ -44,11 +44,11 @@ For detailed information on available operations, see [Manage Relational Metadat### Catalog Properties-| Property | Description | Example | Required | Since Version |-|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|----------|---------------|-| `provider` | Catalog provider type | `lakehouse-generic` | Yes | 1.1.0 |-| `location` | Root storage path for all schemas and tables | `s3://bucket/lakehouse` | No | 1.1.0 |-| `lance.schema-refresh-mode` | Lance table schema refresh mode. `DECLARED_AND_EMPTY` (default) refreshes declared tables and tables with empty stored columns. `VERSION_CHECK` additionally refreshes when the Lance dataset version changes. | `DECLARED_AND_EMPTY` | No | 1.3.0 |+| Property | Description | Example | Required |+|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|----------|+| `provider` | Catalog provider type | `lakehouse-generic` | Yes |+| `location` | Root storage path for all schemas and tables | `s3://bucket/lakehouse` | No |+| `lance.schema-refresh-mode` | Lance table schema refresh mode. `DECLARED_AND_EMPTY` (default) refreshes declared tables and tables with empty stored columns. `VERSION_CHECK` additionally refreshes when the Lance dataset version changes. | `DECLARED_AND_EMPTY` | No |#### Key Property: `location`@@ -148,9 +148,9 @@ See [Schema Operations](./manage-relational-metadata-using-gravitino.md#schema-oSchemas inherit catalog properties and can override specific settings:-| Property | Description | Example | Required | Since version |-|------------|----------------------------------------------------------|------------------------------|----------|---------------|-| `location` | Custom storage root path for all tables under the schema | 's3://bucket/path_to_schema' | No | 1.1.0 |+| Property | Description | Example | Required |+|------------|----------------------------------------------------------|------------------------------|----------|+| `location` | Custom storage root path for all tables under the schema | 's3://bucket/path_to_schema' | No |For location resolution hierarchy, see [Key Property: `location`](#key-property-location) in the Catalog Management section for more details.diff --git a/docs/lakehouse-generic-delta-table.md b/docs/lakehouse-generic-delta-table.mdindex 174bc6fb95..b3000209bc 100644--- a/docs/lakehouse-generic-delta-table.md+++ b/docs/lakehouse-generic-delta-table.md@@ -55,34 +55,34 @@ For Delta tables in a Generic Lakehouse Catalog, the following table summarizesDelta Lake uses Apache Spark data types. The following table shows type mappings between Gravitino and Delta/Spark:-| Gravitino Type | Delta/Spark Type | Notes |-|---------------------|------------------------|---------------------------------|-| `Boolean` | `BooleanType` | |-| `Byte` | `ByteType` | |-| `Short` | `ShortType` | |-| `Integer` | `IntegerType` | |-| `Long` | `LongType` | |-| `Float` | `FloatType` | |-| `Double` | `DoubleType` | |-| `Decimal(p, s)` | `DecimalType(p, s)` | |-| `String` | `StringType` | |-| `Binary` | `BinaryType` | |-| `Date` | `DateType` | |-| `Timestamp` | `TimestampNTZType` | No timezone, Spark 3.4+ |-| `Timestamp_tz` | `TimestampType` | With timezone |-| `List` | `ArrayType` | |-| `Map` | `MapType` | |-| `Struct` | `StructType` | |+| Gravitino Type | Delta/Spark Type | Notes |+|-----------------|---------------------|-------------------------|+| `Boolean` | `BooleanType` | |+| `Byte` | `ByteType` | |+| `Short` | `ShortType` | |+| `Integer` | `IntegerType` | |+| `Long` | `LongType` | |+| `Float` | `FloatType` | |+| `Double` | `DoubleType` | |+| `Decimal(p, s)` | `DecimalType(p, s)` | |+| `String` | `StringType` | |+| `Binary` | `BinaryType` | |+| `Date` | `DateType` | |+| `Timestamp` | `TimestampNTZType` | No timezone, Spark 3.4+ |+| `Timestamp_tz` | `TimestampType` | With timezone |+| `List` | `ArrayType` | |+| `Map` | `MapType` | |+| `Struct` | `StructType` | |### Table PropertiesRequired and optional properties for Delta tables in a Generic Lakehouse Catalog:-| Property | Description | Default | Required | Since Version |-|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|---------------|-| `format` | Table format: must be `delta` | (none) | Yes | 1.2.0 |-| `location` | Storage path for the Delta table. Must point to a directory containing Delta Lake metadata (_delta_log). Supports file://, s3://, hdfs://, abfs://, gs://, and other Hadoop-compatible file systems. | (none) | Yes | 1.2.0 |-| `external` | Must be `true` for Delta tables. Indicates that Gravitino manages metadata only <br/>and will not delete physical data when the table is dropped. | (none) | Yes | 1.2.0 |+| Property | Description | Default | Required |+|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|+| `format` | Table format: must be `delta` | (none) | Yes |+| `location` | Storage path for the Delta table. Must point to a directory containing Delta Lake metadata (_delta_log). Supports file://, s3://, hdfs://, abfs://, gs://, and other Hadoop-compatible file systems. | (none) | Yes |+| `external` | Must be `true` for Delta tables. Indicates that Gravitino manages metadata only <br/>and will not delete physical data when the table is dropped. | (none) | Yes |**Location Requirement:** Must be specified at table level for external Delta table. See [Location Resolution](./lakehouse-generic-catalog.md#key-property-location).diff --git a/docs/lakehouse-generic-lance-table.md b/docs/lakehouse-generic-lance-table.mdindex cdbd0bb79a..945752ca05 100644--- a/docs/lakehouse-generic-lance-table.md+++ b/docs/lakehouse-generic-lance-table.md@@ -90,25 +90,25 @@ For Arrow types not natively mapped in Gravitino, use the `External(arrow_field_**Examples:**-| Arrow Type | External Type Definition |-|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-| `Large Utf8` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largeutf8\"},\"children\":[]}")` |-| `Large Binary` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largebinary\"},\"children\":[]}")` |-| `Large List` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largelist\"},\"children\":[{\"name\":\"element\",\"nullable\":true,\"type\":{\"name\":\"int\",\"bitWidth\":32,\"isSigned\":true},\"children\":[]}]}")` |+| Arrow Type | External Type Definition |+|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|+| `Large Utf8` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largeutf8\"},\"children\":[]}")` |+| `Large Binary` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largebinary\"},\"children\":[]}")` |+| `Large List` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"largelist\"},\"children\":[{\"name\":\"element\",\"nullable\":true,\"type\":{\"name\":\"int\",\"bitWidth\":32,\"isSigned\":true},\"children\":[]}]}")` || `Fixed-Size List` | `External("{\"name\":\"col_name\",\"nullable\":true,\"type\":{\"name\":\"fixedsizelist\",\"listSize\":10},\"children\":[{\"name\":\"element\",\"nullable\":true,\"type\":{\"name\":\"int\",\"bitWidth\":32,\"isSigned\":true},\"children\":[]}]}")` |### Table PropertiesRequired and optional properties for tables in a Generic Lakehouse Catalog:-| Property | Description | Default | Required | Since Version |-|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------------|---------------|-| `format` | Table format: `lance`, only `lance` is fully supported. | (none) | Yes | 1.1.0 |-| `location` | Storage path for table metadata and data, Lance supports: S3, GCS, OSS, AZ, File, Memory and file-object-store. | (none) | Conditional* | 1.1.0 |-| `external` | Whether the data directory is an external location. If it's `true`, dropping a table will only remove metadata in Gravitino and will not delete the data directory, and purge table will delete both. For a non-external table, dropping will drop both. | false | No | 1.1.0 |-| `lance.creation-mode` | Create mode: for create table, it can be `CREATE`, `EXIST_OK` or `OVERWRITE`. and it should be `CREATE` or `OVERWRITE` for registering tables | `CREATE` | No | 1.1.0 |-| `lance.register` | Whether it is a register table operation. If it's `true`, This API will not create data directory actually and it's the user's responsibility to create and manage the data directory. `false` it will actually create a table. | false | No | 1.1.0 |-| `lance.storage.xxxx` | Any additional storage-specific properties required by Lance format (e.g., S3 credentials, HDFS configs). Replace `xxxx` with actual property names. For example, we can use `lance.storage.aws_access_key_id` to set S3 aws_access_key_id when using a S3 location, for detail, refer to https://lancedb.com/docs/storage/integrations/ | (none) | No | 1.1.0 |+| Property | Description | Default | Required |+|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------------|+| `format` | Table format: `lance`, only `lance` is fully supported. | (none) | Yes |+| `location` | Storage path for table metadata and data, Lance supports: S3, GCS, OSS, AZ, File, Memory and file-object-store. | (none) | Conditional* |+| `external` | Whether the data directory is an external location. If it's `true`, dropping a table will only remove metadata in Gravitino and will not delete the data directory, and purge table will delete both. For a non-external table, dropping will drop both. | false | No |+| `lance.creation-mode` | Create mode: for create table, it can be `CREATE`, `EXIST_OK` or `OVERWRITE`. and it should be `CREATE` or `OVERWRITE` for registering tables | `CREATE` | No |+| `lance.register` | Whether it is a register table operation. If it's `true`, This API will not create data directory actually and it's the user's responsibility to create and manage the data directory. `false` it will actually create a table. | false | No |+| `lance.storage.xxxx` | Any additional storage-specific properties required by Lance format (e.g., S3 credentials, HDFS configs). Replace `xxxx` with actual property names. For example, we can use `lance.storage.aws_access_key_id` to set S3 aws_access_key_id when using a S3 location, for detail, refer to https://lancedb.com/docs/storage/integrations/ | (none) | No |- `CREATE`: Create a new table, fail if the table already exists.- `EXIST_OK`: Create a new table if it does not exist, otherwise do nothing.@@ -124,10 +124,10 @@ For Lance tables, Gravitino stores table columns in its metadata store. Some Lanupdate the dataset directly at the Lance location. To keep Gravitino metadata in sync, the GenericLakehouse catalog supports catalog-level schema refresh modes:-| Mode | Behavior |-|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-| `DECLARED_AND_EMPTY` | Default. Refreshes schema from the Lance dataset for two cases: (1) declared tables (`lance.declared=true`) whose schema has not yet been written to Gravitino; (2) tables whose Gravitino column list is empty, for example tables registered before their schema was captured. |-| `VERSION_CHECK` | Opens the Lance dataset on every `loadTable`, compares the dataset version with `lance.version`, and refreshes columns when the version has changed. |+| Mode | Behavior |+|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|+| `DECLARED_AND_EMPTY` | Default. Refreshes schema from the Lance dataset for two cases: (1) declared tables (`lance.declared=true`) whose schema has not yet been written to Gravitino; (2) tables whose Gravitino column list is empty, for example tables registered before their schema was captured. |+| `VERSION_CHECK` | Opens the Lance dataset on every `loadTable`, compares the dataset version with `lance.version`, and refreshes columns when the version has changed. |Use `VERSION_CHECK` only when tables may be modified directly through the Lance path outsideGravitino. It adds a dataset version check to every `loadTable` call.diff --git a/docs/lakehouse-iceberg-catalog.md b/docs/lakehouse-iceberg-catalog.mdindex e8d3ba94d5..ae5f2a34e6 100644--- a/docs/lakehouse-iceberg-catalog.md+++ b/docs/lakehouse-iceberg-catalog.md@@ -43,12 +43,12 @@ Mixing Iceberg JARs from different versions on the client classpath is not compa### Catalog Properties-| Property name | Description | Default value | Required | Since Version |-|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------|---------------|-| `catalog-backend` | Catalog backend of Gravitino Iceberg catalog. Supports `hive` or `jdbc` or `rest`. | (none) | Yes | 0.2.0 |-| `uri` | The URI configuration of the Iceberg catalog. `thrift://127.0.0.1:9083` or `jdbc:postgresql://127.0.0.1:5432/db_name` or `jdbc:mysql://127.0.0.1:3306/metastore_db` or `http://127.0.0.1:9001/iceberg`. | (none) | Yes | 0.2.0 |-| `warehouse` | Warehouse location of catalog. Use a physical S3 or HDFS location for `hive` or `jdbc` catalog backend, use catalog name for REST catalog backend. | (none) | Yes for `hive` and `jdbc` catalog backend | 0.2.0 |-| `catalog-backend-name` | The catalog name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | The property value of `catalog-backend`, like `jdbc` for JDBC catalog backend. | No | 0.5.2 |+| Property name | Description | Default value | Required |+|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------|+| `catalog-backend` | Catalog backend of Gravitino Iceberg catalog. Supports `hive` or `jdbc` or `rest`. | (none) | Yes |+| `uri` | The URI configuration of the Iceberg catalog. `thrift://127.0.0.1:9083` or `jdbc:postgresql://127.0.0.1:5432/db_name` or `jdbc:mysql://127.0.0.1:3306/metastore_db` or `http://127.0.0.1:9001/iceberg`. | (none) | Yes |+| `warehouse` | Warehouse location of catalog. Use a physical S3 or HDFS location for `hive` or `jdbc` catalog backend, use catalog name for REST catalog backend. | (none) | Yes for `hive` and `jdbc` catalog backend |+| `catalog-backend-name` | The catalog name passed to underlying Iceberg catalog backend. Catalog name in JDBC backend is used to isolate namespace and tables. | The property value of `catalog-backend`, like `jdbc` for JDBC catalog backend. | No |Any property not defined by Gravitino with `gravitino.bypass.` prefix will pass to Iceberg catalog properties and HDFS configuration. For example, if specify `gravitino.bypass.list-all-tables`, `list-all-tables` will pass to Iceberg catalog properties.@@ -62,12 +62,12 @@ If you are using the Gravitino with Spark, you can pass the Spark Iceberg connecIf you are using JDBC backend, you must provide properties like `jdbc-user`, `jdbc-password` and `jdbc-driver`. Use `jdbc-user` and `jdbc-password` for the JDBC metadata store connection. When the warehouse is on Kerberos-secured HDFS, set `authentication.type` to `kerberos` and configure the Kerberos properties in [Catalog Backend Security](#catalog-backend-security).-| Property name | Description | Default value | Required | Since Version |-|-------------------|---------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `jdbc-user` | JDBC user name | (none) | Yes | 0.2.0 |-| `jdbc-password` | JDBC password | (none) | Yes | 0.2.0 |-| `jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL | (none) | Yes | 0.3.0 |-| `jdbc-initialize` | Whether to initialize meta tables when create JDBC catalog | `true` | No | 0.2.0 |+| Property name | Description | Default value | Required |+|-------------------|---------------------------------------------------------------------------------------------------------|---------------|----------|+| `jdbc-user` | JDBC user name | (none) | Yes |+| `jdbc-password` | JDBC password | (none) | Yes |+| `jdbc-driver` | `com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` for MySQL, `org.postgresql.Driver` for PostgreSQL | (none) | Yes |+| `jdbc-initialize` | Whether to initialize meta tables when create JDBC catalog | `true` | No |If you have a JDBC Iceberg catalog prior, you must set `catalog-backend-name` to keep consistent with your Jdbc Iceberg catalog name to operate the prior namespace and tables.@@ -82,11 +82,11 @@ For the REST catalog backend, `warehouse` identifies the catalog in the IcebergThe following properties tune REST backend behavior:-| Property name | Description | Default value | Required | Since Version |-|---------------------------------------|------------------------------------------------------------------------------------------------------------|---------------|----------|---------------|-| `data-access` | Data access mode for REST catalog backend. Supported values are `vended-credentials` and `remote-signing`. | (none) | No | 1.3.0 |-| `rest-client-connection-timeout-ms` | The HTTP connection timeout in milliseconds for requests to the REST catalog backend. | 10000 | No | 1.3.0 |-| `rest-client-socket-timeout-ms` | The HTTP socket timeout in milliseconds for requests to the REST catalog backend. | 60000 | No | 1.3.0 |+| Property name | Description | Default value | Required |+|-------------------------------------|------------------------------------------------------------------------------------------------------------|---------------|----------|+| `data-access` | Data access mode for REST catalog backend. Supported values are `vended-credentials` and `remote-signing`. | (none) | No |+| `rest-client-connection-timeout-ms` | The HTTP connection timeout in milliseconds for requests to the REST catalog backend. | 10000 | No |+| `rest-client-socket-timeout-ms` | The HTTP socket timeout in milliseconds for requests to the REST catalog backend. | 60000 | No |- `vended-credentials`: request credential vending from the Iceberg REST server.- `remote-signing`: Gravitino doesn't support this mode yet.@@ -127,14 +127,14 @@ on the URI scheme:Supports using static access-key-id and secret-access-key to access S3 data.-| Configuration item | Description | Default value | Required | Since Version |-|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aws.s3.S3FileIO` to explicitly use S3FileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |-| `s3-access-key-id` | The static access key ID used to access S3 data. | (none) | No | 0.6.0-incubating |-| `s3-secret-access-key` | The static secret access key used to access S3 data. | (none) | No | 0.6.0-incubating |-| `s3-endpoint` | An alternative endpoint of the S3 service, This could be used for S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud. | (none) | No | 0.6.0-incubating |-| `s3-region` | The region of the S3 service, like `us-west-2`. | (none) | No | 0.6.0-incubating |-| `s3-path-style-access` | Whether to use path style access for S3. | false | No | 0.9.0-incubating |+| Configuration item | Description | Default value | Required |+|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aws.s3.S3FileIO` to explicitly use S3FileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |+| `s3-access-key-id` | The static access key ID used to access S3 data. | (none) | No |+| `s3-secret-access-key` | The static secret access key used to access S3 data. | (none) | No |+| `s3-endpoint` | An alternative endpoint of the S3 service, This could be used for S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud. | (none) | No |+| `s3-region` | The region of the S3 service, like `us-west-2`. | (none) | No |+| `s3-path-style-access` | Whether to use path style access for S3. | false | No |For other Iceberg s3 properties not managed by Gravitino like `s3.sse.type`, you could config it directly by `gravitino.bypass.s3.sse.type`.@@ -146,19 +146,19 @@ For other Iceberg s3 properties not managed by Gravitino like `s3.sse.type`, you::::::note-Since Gravitino 1.1.0, the Gravitino Iceberg AWS bundle jar has already included the Iceberg AWS bundle jar, no need to download and include it separately.+The Gravitino Iceberg AWS bundle jar already includes the Iceberg AWS bundle jar, no need to download and include it separately.:::#### OSSGravitino Iceberg REST service supports using static access-key-id and secret-access-key to access OSS data.-| Configuration item | Description | Default value | Required | Since Version |-|-------------------------|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aliyun.oss.OSSFileIO` to explicitly use OSSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |-| `oss-access-key-id` | The static access key ID used to access OSS data. | (none) | No | 0.7.0-incubating |-| `oss-secret-access-key` | The static secret access key used to access OSS data. | (none) | No | 0.7.0-incubating |-| `oss-endpoint` | The endpoint of Aliyun OSS service. | (none) | No | 0.7.0-incubating |+| Configuration item | Description | Default value | Required |+|-------------------------|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.aliyun.oss.OSSFileIO` to explicitly use OSSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |+| `oss-access-key-id` | The static access key ID used to access OSS data. | (none) | No |+| `oss-secret-access-key` | The static secret access key used to access OSS data. | (none) | No |+| `oss-endpoint` | The endpoint of Aliyun OSS service. | (none) | No |For other Iceberg OSS properties not managed by Gravitino like `client.security-token`, you could config it directly by `gravitino.bypass.client.security-token`.See [Catalog Properties Configuration](./gravitino-server-config.md#catalog-properties-configuration) for credential leakage risks when passing credentials or security tokens through `gravitino.bypass.` properties.@@ -168,16 +168,16 @@ Please set the `warehouse` parameter to `oss://{bucket_name}/${prefix_name}`. Ad::::::note-Since Gravitino 1.1.0, the Gravitino Iceberg aliyun bundle jar has already included the Iceberg aliyun necessary dependency jars, no need to download and include them separately.+The Gravitino Iceberg aliyun bundle jar already includes the Iceberg aliyun necessary dependency jars, no need to download and include them separately.:::#### GCSSupports using google credential file to access GCS data.-| Configuration item | Description | Default value | Required | Since Version |-|--------------------|------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.gcp.gcs.GCSFileIO` to explicitly use GCSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |+| Configuration item | Description | Default value | Required |+|--------------------|------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.gcp.gcs.GCSFileIO` to explicitly use GCSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |For other Iceberg GCS properties not managed by Gravitino like `gcs.project-id`, you could config it directly by `gravitino.bypass.gcs.project-id`.@@ -188,18 +188,18 @@ Please set `warehouse` to `gs://{bucket_name}/${prefix_name}`, and download [Gra::::::note-Since Gravitino 1.1.0, the Gravitino Iceberg GCP bundle jar has already included the Iceberg GCP bundle jar, no need to download and include it separately.+The Gravitino Iceberg GCP bundle jar already includes the Iceberg GCP bundle jar, no need to download and include it separately.:::#### ADLSSupports using Azure account name and secret key to access ADLS data.-| Configuration item | Description | Default value | Required | Since Version |-|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.azure.adlsv2.ADLSFileIO` to explicitly use ADLSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |-| `azure-storage-account-name` | The static storage account name used to access ADLS data. | (none) | No | 0.8.0-incubating |-| `azure-storage-account-key` | The static storage account key used to access ADLS data. | (none) | No | 0.8.0-incubating |+| Configuration item | Description | Default value | Required |+|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `io-impl` | The IO implementation for `FileIO` in Iceberg. Set it to `org.apache.iceberg.azure.adlsv2.ADLSFileIO` to explicitly use ADLSFileIO. | `org.apache.iceberg.io.ResolvingFileIO` | No |+| `azure-storage-account-name` | The static storage account name used to access ADLS data. | (none) | No |+| `azure-storage-account-key` | The static storage account key used to access ADLS data. | (none) | No |For other Iceberg ADLS properties not managed by Gravitino like `adls.read.block-size-bytes`, you could config it directly by `gravitino.iceberg-rest.adls.read.block-size-bytes`.@@ -208,16 +208,16 @@ Please set `warehouse` to `abfs[s]://{container-name}@{storage-account-name}.dfs::::::note-Since Gravitino 1.1.0, the Gravitino Iceberg Azure bundle jar has already included the Iceberg Azure bundle jar, no need to download and include it separately.+The Gravitino Iceberg Azure bundle jar already includes the Iceberg Azure bundle jar, no need to download and include it separately.:::#### Other StorageFor other storages that are not managed by Gravitino directly, you can manage them through custom catalog properties.-| Configuration item | Description | Default value | Required | Since Version |-|--------------------|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|------------------|-| `io-impl` | The IO implementation for `FileIO` in Iceberg. Use the fully qualified class name to override the default implementation. | `org.apache.iceberg.io.ResolvingFileIO` | No | 0.6.0-incubating |+| Configuration item | Description | Default value | Required |+|--------------------|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|----------|+| `io-impl` | The IO implementation for `FileIO` in Iceberg. Use the fully qualified class name to override the default implementation. | `org.apache.iceberg.io.ResolvingFileIO` | No |To pass custom properties such as `security-token` to your custom `FileIO`, you can directly configure it by `gravitino.bypass.security-token`. `security-token` will be included in the properties when the initialize method of `FileIO` is invoked.See [Catalog Properties Configuration](./gravitino-server-config.md#catalog-properties-configuration) for credential leakage risks when passing credentials or security tokens through `gravitino.bypass.` properties.@@ -230,25 +230,25 @@ Please set the `warehouse` parameter to `{storage_prefix}://{bucket_name}/${prefUsers can use the following properties to configure warehouse storage security when needed. For example, if you are using a Hive or JDBC catalog backend with a Kerberos-secured HDFS warehouse, set `authentication.type` to `kerberos` and provide `authentication.kerberos.principal` and `authentication.kerberos.keytab-uri`. For JDBC backend, JDBC username/password authentication for the metadata store is configured separately via `jdbc-user` and `jdbc-password`.-| Property name | Description | Default value | Required | Since Version |-| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |-| `authentication.type` | The authentication type for HDFS warehouse access. Supports `kerberos` and `simple` for Hive and JDBC catalog backends. | `simple` | No | 0.6.0-incubating |-| `authentication.impersonation-enable` | Whether to enable impersonation for the Iceberg catalog. | `false` | No | 0.6.0-incubating |-| `hive.metastore.sasl.enabled` | Whether to enable SASL when connecting to a Kerberos Hive Metastore. This is a raw Hive configuration. | `false` | No. Set to true in most cases when `authentication.type` is `kerberos` (some deployments use SSL instead, but that is rare). | 0.6.0-incubating |-| `authentication.kerberos.principal` | The principal for Kerberos authentication. | (none) | Yes, if `authentication.type` is `kerberos`. | 0.6.0-incubating |-| `authentication.kerberos.keytab-uri` | The URI of the keytab for Kerberos authentication. | (none) | Yes, if `authentication.type` is `kerberos`. | 0.6.0-incubating |-| `authentication.kerberos.check-interval-sec` | The check interval of Kerberos credential for the Iceberg catalog. | 60 | No | 0.6.0-incubating |-| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout for retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60 | No | 0.6.0-incubating |+| Property name | Description | Default value | Required |+|----------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|---------------|------------------------------------------------------------------------------------------------------------------------------|+| `authentication.type` | The authentication type for HDFS warehouse access. Supports `kerberos` and `simple` for Hive and JDBC catalog backends. | `simple` | No |+| `authentication.impersonation-enable` | Whether to enable impersonation for the Iceberg catalog. | `false` | No |+| `hive.metastore.sasl.enabled` | Whether to enable SASL when connecting to a Kerberos Hive Metastore. This is a raw Hive configuration. | `false` | No. Set to true in most cases when `authentication.type` is `kerberos` (some deployments use SSL instead, but that is rare). |+| `authentication.kerberos.principal` | The principal for Kerberos authentication. | (none) | Yes, if `authentication.type` is `kerberos`. |+| `authentication.kerberos.keytab-uri` | The URI of the keytab for Kerberos authentication. | (none) | Yes, if `authentication.type` is `kerberos`. |+| `authentication.kerberos.check-interval-sec` | The check interval of Kerberos credential for the Iceberg catalog. | 60 | No |+| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout for retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60 | No |#### Table Metadata CacheGravitino features a pluggable cache system for updating or retrieving table metadata in the cache. It validates the location of table metadata against the catalog backend to ensure the correctness of cached data.-| Configuration item | Description | Default value | Required | Since Version |-|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|----------|---------------|-| `table-metadata-cache-impl` | The implementation of the table metadata cache. Set to empty string("") if `catalog-backend` is `rest` catalog, or `custom` catalog without the `SupportsMetadataLocation` interface. | `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` | No | 1.1.0 |-| `table-metadata-cache-capacity` | The capacity of the table metadata cache. | 1000 | No | 1.1.0 |-| `table-metadata-cache-expire-minutes` | The expiration time (in minutes) of the table metadata cache. | 60 | No | 1.1.0 |+| Configuration item | Description | Default value | Required |+|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|----------|+| `table-metadata-cache-impl` | The implementation of the table metadata cache. Set to empty string("") if `catalog-backend` is `rest` catalog, or `custom` catalog without the `SupportsMetadataLocation` interface. | `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` | No |+| `table-metadata-cache-capacity` | The capacity of the table metadata cache. | 1000 | No |+| `table-metadata-cache-expire-minutes` | The expiration time (in minutes) of the table metadata cache. | 60 | No |Gravitino provides the build-in `org.apache.gravitino.iceberg.common.cache.LocalTableMetadataCache` to store the cached data in the memory. You could also implement your custom table metadata cache by implementing the `org.apache.gravitino.iceberg.common.cache.TableMetadataCache` interface.@@ -257,7 +257,7 @@ Gravitino provides the build-in `org.apache.gravitino.iceberg.common.cache.LocalRefer to [Manage Relational Metadata Using Gravitino](./manage-relational-metadata-using-gravitino.md#catalog-operations) for more details.:::note-Sensitive catalog properties such as `s3-access-key-id`, `s3-secret-access-key`, `oss-access-key-id`, and `oss-secret-access-key` are hidden from the load catalog response since Gravitino 1.3.0. Use the [credential vending API](security/credential-vending.md) to retrieve them at runtime.+Sensitive catalog properties such as `s3-access-key-id`, `s3-secret-access-key`, `oss-access-key-id`, and `oss-secret-access-key` are hidden from the load catalog response. Use the [credential vending API](security/credential-vending.md) to retrieve them at runtime.:::## Schema@@ -415,31 +415,31 @@ If you doesn't specify distribution expressions, the table distribution will be### Table Column Types-| Gravitino Type | Apache Iceberg Type |-|-------------------|-----------------------------|-| `Struct` | `Struct` |-| `Map` | `Map` |-| `List` | `Array` |-| `Boolean` | `Boolean` |-| `Integer` | `Integer` |-| `Long` | `Long` |-| `Float` | `Float` |-| `Double` | `Double` |-| `String` | `String` |-| `Date` | `Date` |-| `Time(6)` | `Time` |+| Gravitino Type | Apache Iceberg Type |+|-------------------|---------------------------------|+| `Struct` | `Struct` |+| `Map` | `Map` |+| `List` | `Array` |+| `Boolean` | `Boolean` |+| `Integer` | `Integer` |+| `Long` | `Long` |+| `Float` | `Float` |+| `Double` | `Double` |+| `String` | `String` |+| `Date` | `Date` |+| `Time(6)` | `Time` || `Timestamp(6)` | `TimestampType withoutZone` || `Timestamp_tz(6)` | `TimestampType withZone` || `Timestamp(9)` | `TimestampNanoType withoutZone` || `Timestamp_tz(9)` | `TimestampNanoType withZone` |-| `Decimal` | `Decimal` |-| `Fixed` | `Fixed` |-| `Binary` | `Binary` |-| `UUID` | `UUID` |-| `Variant` | `Variant` |-| `Null` | `Unknown` |-| `Geometry` | `Geometry` |-| `Geography` | `Geography` |+| `Decimal` | `Decimal` |+| `Fixed` | `Fixed` |+| `Binary` | `Binary` |+| `UUID` | `UUID` |+| `Variant` | `Variant` |+| `Null` | `Unknown` |+| `Geometry` | `Geometry` |+| `Geography` | `Geography` |:::noteGravitino `Null` maps to Apache Iceberg's V3 `unknown` type — a null-only placeholder for a column@@ -450,7 +450,7 @@ represent an Iceberg `unknown` column in Gravitino.:::infoApache Iceberg doesn't support Gravitino `Varchar` `Fixedchar` `Byte` `Short` `Union` type.-Meanwhile, the data types other than listed above are mapped to Gravitino **[External Type](./manage-relational-metadata-using-gravitino.md#external-type)** that represents an unresolvable data type since 0.6.0-incubating.+Meanwhile, the data types other than listed above are mapped to Gravitino **[External Type](./manage-relational-metadata-using-gravitino.md#external-type)** that represents an unresolvable data type.:::### Table Properties@@ -463,19 +463,19 @@ Pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/configurat**Immutable**: Fields that cannot be modified once set.:::-| Configuration item | Description | Default value | Required | Reserved | Immutable | Since Version |-|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|----------|-----------|---------------|-| `location` | Iceberg location for table storage. | (none) | No | No | Yes | 0.2.0 |-| `provider` | The storage provider for table storage. | (none) | No | No | Yes | 0.2.0 |-| `format` | The format of table storage. | (none) | No | No | Yes | 0.2.0 |-| `format-version` | The Iceberg table format version. Gravitino supports creating tables at versions `1`–`4` (the range the bundled Iceberg version can write) and defaults to `2` when unset. Version `3` is required for V3 types such as `variant`; version `4` is not yet a finalized Iceberg spec. | `2` | No | No | Yes | 0.2.0 |-| `comment` | The table comment; use the `comment` field in table meta instead. | (none) | No | Yes | No | 0.2.0 |-| `creator` | The table creator. | (none) | No | Yes | No | 0.2.0 |-| `current-snapshot-id` | The snapshot represents the current state of the table. | (none) | No | Yes | No | 0.2.0 |-| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation. | (none) | No | Yes | No | 0.2.0 |-| `sort-order` | Iceberg table sort order; use `SortOrder` in table meta instead. | (none) | No | Yes | No | 0.2.0 |-| `identifier-fields` | The identifier fields for defining the table. | (none) | No | Yes | No | 0.2.0 |-| `write.distribution-mode` | Defines distribution of write data; use `distribution` in table meta instead. | (none) | No | Yes | No | 0.2.0 |+| Configuration item | Description | Default value | Required | Reserved | Immutable |+|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|----------|-----------|+| `location` | Iceberg location for table storage. | (none) | No | No | Yes |+| `provider` | The storage provider for table storage. | (none) | No | No | Yes |+| `format` | The format of table storage. | (none) | No | No | Yes |+| `format-version` | The Iceberg table format version. Gravitino supports creating tables at versions `1`–`4` (the range the bundled Iceberg version can write) and defaults to `2` when unset. Version `3` is required for V3 types such as `variant`; version `4` is not yet a finalized Iceberg spec. | `2` | No | No | Yes |+| `comment` | The table comment; use the `comment` field in table meta instead. | (none) | No | Yes | No |+| `creator` | The table creator. | (none) | No | Yes | No |+| `current-snapshot-id` | The snapshot represents the current state of the table. | (none) | No | Yes | No |+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation. | (none) | No | Yes | No |+| `sort-order` | Iceberg table sort order; use `SortOrder` in table meta instead. | (none) | No | Yes | No |+| `identifier-fields` | The identifier fields for defining the table. | (none) | No | Yes | No |+| `write.distribution-mode` | Defines distribution of write data; use `distribution` in table meta instead. | (none) | No | Yes | No |### Table Indexesdiff --git a/docs/lance-rest-service.md b/docs/lance-rest-service.mdindex d997df9903..0b464c5451 100644--- a/docs/lance-rest-service.md+++ b/docs/lance-rest-service.md@@ -13,7 +13,7 @@ import TabItem from '@theme/TabItem';## Overview-The Lance REST service provides a RESTful interface for managing Lance datasets through HTTP endpoints. Introduced in Gravitino version 1.1.0, this service enables seamless interaction with Lance datasets for data operations and metadata management.+The Lance REST service provides a RESTful interface for managing Lance datasets through HTTP endpoints. It enables seamless interaction with Lance datasets for data operations and metadata management.The service implements the [Lance REST API specification](https://docs.lancedb.com/api-reference/introduction). For detailed specification documentation, see the [official Lance REST documentation](https://lance.org/format/namespace/rest/catalog-spec/).@@ -60,28 +60,27 @@ The Lance REST service acts as a bridge between Lance datasets and applications:- Full compliance with Lance REST API specification- Can run standalone or integrated with Gravitino server- Support for namespace and table management-- Index creation and management capabilities (Index operations are not supported in version 1.1.0)- Metadata stored in Gravitino for unified governance## Supported Operations-The Lance REST service provides comprehensive support for namespace management, table management, and index operations. The table below lists all supported operations:--| Operation | Description | HTTP Method | Endpoint Pattern | Since Version |-|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------------------------------|---------------|-| CreateNamespace | Create a new Lance namespace | POST | `/lance/v1/namespace/{id}/create` | 1.1.0 |-| ListNamespaces | List all namespaces under a parent namespace | GET | `/lance/v1/namespace/{parent}/list` | 1.1.0 |-| DescribeNamespace | Retrieve detailed information about a specific namespace | POST | `/lance/v1/namespace/{id}/describe` | 1.1.0 |-| DropNamespace | Delete a namespace | POST | `/lance/v1/namespace/{id}/drop` | 1.1.0 |-| NamespaceExists | Check whether a namespace exists | POST | `/lance/v1/namespace/{id}/exists` | 1.1.0 |-| ListTables | List all tables in a namespace | GET | `/lance/v1/namespace/{id}/table/list` | 1.1.0 |-| CreateTable | Create a new table in a namespace | POST | `/lance/v1/table/{id}/create` | 1.1.0 |-| DescribeTable | Describe an existing Lance table | POST | `/lance/v1/table/{id}/describe` | 1.1.0 |-| DropTable | Delete a table including both metadata and data | POST | `/lance/v1/table/{id}/drop` | 1.1.0 |-| TableExists | Check whether a table exists | POST | `/lance/v1/table/{id}/exists` | 1.1.0 |-| RegisterTable | Register an existing Lance table to a namespace | POST | `/lance/v1/table/{id}/register` | 1.1.0 |-| DeregisterTable | Unregister a table from a namespace (metadata only, data remains) | POST | `/lance/v1/table/{id}/deregister` | 1.1.0 |-| DeclareTable | Declare a table and store the metadata without touching lance table data. | POST | `/lance/v1/table/{id}/declare` | 1.3.0 |+The Lance REST service provides comprehensive support for namespace management and table management. Index operations are not supported yet. The table below lists all supported operations:++| Operation | Description | HTTP Method | Endpoint Pattern |+|-------------------|---------------------------------------------------------------------------|-------------|---------------------------------------|+| CreateNamespace | Create a new Lance namespace | POST | `/lance/v1/namespace/{id}/create` |+| ListNamespaces | List all namespaces under a parent namespace | GET | `/lance/v1/namespace/{parent}/list` |+| DescribeNamespace | Retrieve detailed information about a specific namespace | POST | `/lance/v1/namespace/{id}/describe` |+| DropNamespace | Delete a namespace | POST | `/lance/v1/namespace/{id}/drop` |+| NamespaceExists | Check whether a namespace exists | POST | `/lance/v1/namespace/{id}/exists` |+| ListTables | List all tables in a namespace | GET | `/lance/v1/namespace/{id}/table/list` |+| CreateTable | Create a new table in a namespace | POST | `/lance/v1/table/{id}/create` |+| DescribeTable | Describe an existing Lance table | POST | `/lance/v1/table/{id}/describe` |+| DropTable | Delete a table including both metadata and data | POST | `/lance/v1/table/{id}/drop` |+| TableExists | Check whether a table exists | POST | `/lance/v1/table/{id}/exists` |+| RegisterTable | Register an existing Lance table to a namespace | POST | `/lance/v1/table/{id}/register` |+| DeregisterTable | Unregister a table from a namespace (metadata only, data remains) | POST | `/lance/v1/table/{id}/deregister` |+| DeclareTable | Declare a table and store the metadata without touching lance table data. | POST | `/lance/v1/table/{id}/declare` |More details, refer to the [Lance REST API specification](https://lance.org/format/namespace/rest/catalog-spec/)@@ -124,15 +123,15 @@ The `version` field of `CreateTable` response is always null, which stands for tTo enable the Lance REST service within Gravitino server, configure the following properties in your Gravitino configuration file `${GRAVITINO_HOME}/conf/gravitino.conf`:-| Configuration Property | Description | Default Value | Required | Since Version |-|-------------------------------------------|------------------------------------------------------------------------------|-------------------------|----------|---------------|-| `gravitino.auxService.names` | Auxiliary services to run. Include `lance-rest` to enable Lance REST service | iceberg-rest,lance-rest | Yes | 0.2.0 |-| `gravitino.lance-rest.classpath` | Classpath for Lance REST service, relative to Gravitino home directory | lance-rest-server/libs | Yes | 1.1.0 |-| `gravitino.lance-rest.httpPort` | Port number for Lance REST service | 9101 | No | 1.1.0 |-| `gravitino.lance-rest.host` | Hostname for Lance REST service | 0.0.0.0 | No | 1.1.0 |-| `gravitino.lance-rest.namespace-backend` | Namespace metadata backend (currently only `gravitino` is supported) | gravitino | Yes | 1.1.0 |-| `gravitino.lance-rest.gravitino-uri` | Gravitino server URI. Not required in auxiliary mode. | http://localhost:8090 | No | 1.1.0 |-| `gravitino.lance-rest.gravitino-metalake` | Gravitino metalake name (required when namespace-backend is `gravitino`) | (none) | Yes | 1.1.0 |+| Configuration Property | Description | Default Value | Required |+|-------------------------------------------|------------------------------------------------------------------------------|-------------------------|----------|+| `gravitino.auxService.names` | Auxiliary services to run. Include `lance-rest` to enable Lance REST service | iceberg-rest,lance-rest | Yes |+| `gravitino.lance-rest.classpath` | Classpath for Lance REST service, relative to Gravitino home directory | lance-rest-server/libs | Yes |+| `gravitino.lance-rest.httpPort` | Port number for Lance REST service | 9101 | No |+| `gravitino.lance-rest.host` | Hostname for Lance REST service | 0.0.0.0 | No |+| `gravitino.lance-rest.namespace-backend` | Namespace metadata backend (currently only `gravitino` is supported) | gravitino | Yes |+| `gravitino.lance-rest.gravitino-uri` | Gravitino server URI. Not required in auxiliary mode. | http://localhost:8090 | No |+| `gravitino.lance-rest.gravitino-metalake` | Gravitino metalake name (required when namespace-backend is `gravitino`) | (none) | Yes |**Authentication to the Gravitino Server**@@ -141,14 +140,14 @@ credentials, otherwise a Gravitino server configured with an authenticator otherrejects them and every Lance operation fails. Configure the auth type to match the Gravitinoserver:-| Configuration Property | Description | Default Value | Required | Since Version |-|----------------------------------------------------|------------------------------------------------------------------------------------|---------------------|-------------------|---------------|-| `gravitino.lance-rest.gravitino-auth-type` | Auth type used to reach the Gravitino server. Supported values: `simple`, `oauth2` | `simple` | No | 2.0.0 |-| `gravitino.lance-rest.gravitino-simple.user-name` | User name presented when the auth type is `simple` | `lance-rest-server` | No | 2.0.0 |-| `gravitino.lance-rest.gravitino-oauth2.server-uri` | OAuth2 server URI | (none) | Yes, for `oauth2` | 2.0.0 |-| `gravitino.lance-rest.gravitino-oauth2.credential` | Credential used to request the OAuth2 token | (none) | Yes, for `oauth2` | 2.0.0 |-| `gravitino.lance-rest.gravitino-oauth2.token-path` | Path on the OAuth2 server used to request the token | (none) | Yes, for `oauth2` | 2.0.0 |-| `gravitino.lance-rest.gravitino-oauth2.scope` | Scope of the requested OAuth2 token | (none) | Yes, for `oauth2` | 2.0.0 |+| Configuration Property | Description | Default Value | Required |+|----------------------------------------------------|------------------------------------------------------------------------------------|---------------------|-------------------|+| `gravitino.lance-rest.gravitino-auth-type` | Auth type used to reach the Gravitino server. Supported values: `simple`, `oauth2` | `simple` | No |+| `gravitino.lance-rest.gravitino-simple.user-name` | User name presented when the auth type is `simple` | `lance-rest-server` | No |+| `gravitino.lance-rest.gravitino-oauth2.server-uri` | OAuth2 server URI | (none) | Yes, for `oauth2` |+| `gravitino.lance-rest.gravitino-oauth2.credential` | Credential used to request the OAuth2 token | (none) | Yes, for `oauth2` |+| `gravitino.lance-rest.gravitino-oauth2.token-path` | Path on the OAuth2 server used to request the token | (none) | Yes, for `oauth2` |+| `gravitino.lance-rest.gravitino-oauth2.scope` | Scope of the requested OAuth2 token | (none) | Yes, for `oauth2` |This setting controls how the service authenticates to the Gravitino server. It does not change howcallers authenticate to the Lance REST service itself.@@ -176,13 +175,13 @@ To run Lance REST service independently without Gravitino server (You need to stConfigure the service by editing `{GRAVITINO_HOME}/conf/gravitino-lance-rest-server.conf` or passing command-line arguments:-| Configuration Property | Description | Default Value | Required | Since Version |-|-------------------------------------------|----------------------------|-----------------------|----------|---------------|-| `gravitino.lance-rest.namespace-backend` | Namespace metadata backend | gravitino | Yes | 1.1.0 |-| `gravitino.lance-rest.gravitino-uri` | Gravitino server URI | http://localhost:8090 | Yes | 1.1.0 |-| `gravitino.lance-rest.gravitino-metalake` | Gravitino metalake name | (none) | Yes | 1.1.0 |-| `gravitino.lance-rest.httpPort` | Service port number | 9101 | No | 1.1.0 |-| `gravitino.lance-rest.host` | Service hostname | 0.0.0.0 | No | 1.1.0 |+| Configuration Property | Description | Default Value | Required |+|-------------------------------------------|----------------------------|-----------------------|----------|+| `gravitino.lance-rest.namespace-backend` | Namespace metadata backend | gravitino | Yes |+| `gravitino.lance-rest.gravitino-uri` | Gravitino server URI | http://localhost:8090 | Yes |+| `gravitino.lance-rest.gravitino-metalake` | Gravitino metalake name | (none) | Yes |+| `gravitino.lance-rest.httpPort` | Service port number | 9101 | No |+| `gravitino.lance-rest.host` | Service hostname | 0.0.0.0 | No |:::tipIn standalone deployments, you only need to configure `gravitino.lance-rest.gravitino-metalake`,@@ -205,13 +204,13 @@ Access the service at `http://localhost:9101`.**Environment Variables:**-| Environment Variable | Configuration Property | Required | Default Value | Since Version |-|--------------------------------------|-------------------------------------------|----------|-------------------------|---------------|-| `LANCE_REST_NAMESPACE_BACKEND` | `gravitino.lance-rest.namespace-backend` | Yes | `gravitino` | 1.1.0 |-| `LANCE_REST_GRAVITINO_METALAKE_NAME` | `gravitino.lance-rest.gravitino-metalake` | Yes | (none) | 1.1.0 |-| `LANCE_REST_GRAVITINO_URI` | `gravitino.lance-rest.gravitino-uri` | Yes | `http://localhost:8090` | 1.1.0 |-| `LANCE_REST_HOST` | `gravitino.lance-rest.host` | No | `0.0.0.0` | 1.1.0 |-| `LANCE_REST_PORT` | `gravitino.lance-rest.httpPort` | No | `9101` | 1.1.0 |+| Environment Variable | Configuration Property | Required | Default Value |+|--------------------------------------|-------------------------------------------|----------|-------------------------|+| `LANCE_REST_NAMESPACE_BACKEND` | `gravitino.lance-rest.namespace-backend` | Yes | `gravitino` |+| `LANCE_REST_GRAVITINO_METALAKE_NAME` | `gravitino.lance-rest.gravitino-metalake` | Yes | (none) |+| `LANCE_REST_GRAVITINO_URI` | `gravitino.lance-rest.gravitino-uri` | Yes | `http://localhost:8090` |+| `LANCE_REST_HOST` | `gravitino.lance-rest.host` | No | `0.0.0.0` |+| `LANCE_REST_PORT` | `gravitino.lance-rest.httpPort` | No | `9101` |:::tip Configuration Tips- **Required:** Set `LANCE_REST_GRAVITINO_METALAKE_NAME` to your Gravitino metalake name