This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-1.1
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-1.1 by this push:
     new 33cf58a2d7 [MINOR] docs: fix typos and refine catalog identifier names 
(#9443)
33cf58a2d7 is described below

commit 33cf58a2d709219412ad1b94beafb54ff7929266
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 10 17:57:36 2025 +0800

    [MINOR] docs: fix typos and refine catalog identifier names (#9443)
    
    ### What changes were proposed in this pull request?
    
    1. Fix typos
    2. Refines the spark configuration example for the Iceberg REST catalog.
    The updated identifiers (`hive_backend_rest_catalog`,
    `jdbc_backend_rest_catalog`)
    more accurately express their purpose: Spark is using an Iceberg REST
    Catalog
    to access backend catalogs managed by Gravitino.
    
    ### Why are the changes needed?
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Co-authored-by: Joey Tong <[email protected]>
    Co-authored-by: Joey Tong <[email protected]>
---
 docs/iceberg-rest-service.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.md
index c624c33b1b..0fbf4677c6 100644
--- a/docs/iceberg-rest-service.md
+++ b/docs/iceberg-rest-service.md
@@ -141,7 +141,7 @@ The Gravitino Iceberg REST server supports multiple catalog 
backend, and you cou
 | `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 |
 
 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 though 
Gravitino server, you could add&delete&change the catalog configurations 
dynamically.
+While `dynamic-config-provider` is used to manage catalog config through 
Gravitino server, you could add&delete&change the catalog configurations 
dynamically.
 
 #### Static catalog configuration provider
 
@@ -194,17 +194,17 @@ You can access different catalogs by setting the 
`warehouse` to the specific cat
 --conf spark.sql.catalog.default_rest_catalog.type=rest  \
 --conf 
spark.sql.catalog.default_rest_catalog.uri=http://127.0.0.1:9001/iceberg/ \
 ...
---conf spark.sql.catalog.hive_backend_catalog.type=rest  \
---conf 
spark.sql.catalog.hive_backend_catalog.uri=http://127.0.0.1:9001/iceberg/ \
---conf spark.sql.catalog.hive_backend_catalog.warehouse=hive_backend \
+--conf spark.sql.catalog.hive_backend_rest_catalog.type=rest  \
+--conf 
spark.sql.catalog.hive_backend_rest_catalog.uri=http://127.0.0.1:9001/iceberg/ \
+--conf spark.sql.catalog.hive_backend_rest_catalog.warehouse=hive_backend \
 ...
---conf spark.sql.catalog.jdbc_backend_catalog.type=rest  \
---conf 
spark.sql.catalog.jdbc_backend_catalog.uri=http://127.0.0.1:9001/iceberg/ \
---conf spark.sql.catalog.jdbc_backend_catalog.warehouse=jdbc_backend \
+--conf spark.sql.catalog.jdbc_backend_rest_catalog.type=rest  \
+--conf 
spark.sql.catalog.jdbc_backend_rest_catalog.uri=http://127.0.0.1:9001/iceberg/ \
+--conf spark.sql.catalog.jdbc_backend_rest_catalog.warehouse=jdbc_backend \
 ...
 ```
 
-In the Spark SQL side, you could use `default_rest_catalog` to access the 
default catalog backend, and use `hive_backend_catalog` and 
`jdbc_backend_catalog` to access the `hive_backend` and `jdbc_backend` catalog 
backend respectively.
+In the Spark SQL side, you could use `default_rest_catalog` to access the 
default catalog backend, and use `hive_backend_rest_catalog` and 
`jdbc_backend_rest_catalog` to access the `hive_backend` and `jdbc_backend` 
catalog backend respectively.
 
 ### Security
 
@@ -651,7 +651,7 @@ print(table.scan().to_arrow())
 
 ## Docker instructions
 
-You could run Gravitino Iceberg REST server though docker container:
+You could run Gravitino Iceberg REST server through docker container:
 
 ```shell
 docker run -d -p 9001:9001 apache/gravitino-iceberg-rest:latest

Reply via email to