This is an automated email from the ASF dual-hosted git repository. jshao pushed a commit to branch branch-0.8 in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.8 by this push: new 7ea5ee537e [#6577] docs: fix param typo from 'type' to 'catalog_type' (#6634) 7ea5ee537e is described below commit 7ea5ee537ea22a1b590bdd898716138846bb909d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Mar 7 14:44:18 2025 +0800 [#6577] docs: fix param typo from 'type' to 'catalog_type' (#6634) ### What changes were proposed in this pull request? Fix parameter typo for `create_catalog` function in `hadoop-catalog` fileset documentation and `manage-fileset` and `manage-model`. Change parameter typo from `type` to `catalog_type`. ### Why are the changes needed? Incorrect parameter name in the documentation. Fix: #6577 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? None. Co-authored-by: AndreVale69 <57899285+andreval...@users.noreply.github.com> Co-authored-by: Jerry Shao <jerrys...@datastrato.com> --- docs/hadoop-catalog-with-adls.md | 2 +- docs/hadoop-catalog-with-gcs.md | 2 +- docs/hadoop-catalog-with-oss.md | 2 +- docs/hadoop-catalog-with-s3.md | 2 +- docs/manage-fileset-metadata-using-gravitino.md | 2 +- docs/manage-model-metadata-using-gravitino.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/hadoop-catalog-with-adls.md b/docs/hadoop-catalog-with-adls.md index 880166776f..6e6b682ece 100644 --- a/docs/hadoop-catalog-with-adls.md +++ b/docs/hadoop-catalog-with-adls.md @@ -110,7 +110,7 @@ adls_properties = { } adls_properties = gravitino_client.create_catalog(name="example_catalog", - type=Catalog.Type.FILESET, + catalog_type=Catalog.Type.FILESET, provider="hadoop", comment="This is a ADLS fileset catalog", properties=adls_properties) diff --git a/docs/hadoop-catalog-with-gcs.md b/docs/hadoop-catalog-with-gcs.md index 29465c2549..cd9c34aa94 100644 --- a/docs/hadoop-catalog-with-gcs.md +++ b/docs/hadoop-catalog-with-gcs.md @@ -105,7 +105,7 @@ gcs_properties = { } gcs_properties = gravitino_client.create_catalog(name="test_catalog", - type=Catalog.Type.FILESET, + catalog_type=Catalog.Type.FILESET, provider="hadoop", comment="This is a GCS fileset catalog", properties=gcs_properties) diff --git a/docs/hadoop-catalog-with-oss.md b/docs/hadoop-catalog-with-oss.md index f330f7ede9..b72793a2a0 100644 --- a/docs/hadoop-catalog-with-oss.md +++ b/docs/hadoop-catalog-with-oss.md @@ -114,7 +114,7 @@ oss_properties = { } oss_catalog = gravitino_client.create_catalog(name="test_catalog", - type=Catalog.Type.FILESET, + catalog_type=Catalog.Type.FILESET, provider="hadoop", comment="This is a OSS fileset catalog", properties=oss_properties) diff --git a/docs/hadoop-catalog-with-s3.md b/docs/hadoop-catalog-with-s3.md index c7fcef3737..caf48dc549 100644 --- a/docs/hadoop-catalog-with-s3.md +++ b/docs/hadoop-catalog-with-s3.md @@ -114,7 +114,7 @@ s3_properties = { } s3_catalog = gravitino_client.create_catalog(name="test_catalog", - type=Catalog.Type.FILESET, + catalog_type=Catalog.Type.FILESET, provider="hadoop", comment="This is a S3 fileset catalog", properties=s3_properties) diff --git a/docs/manage-fileset-metadata-using-gravitino.md b/docs/manage-fileset-metadata-using-gravitino.md index 0ff84c8346..90550da14b 100644 --- a/docs/manage-fileset-metadata-using-gravitino.md +++ b/docs/manage-fileset-metadata-using-gravitino.md @@ -87,7 +87,7 @@ Catalog catalog = gravitinoClient.createCatalog("catalog", ```python gravitino_client: GravitinoClient = GravitinoClient(uri="http://localhost:8090", metalake_name="metalake") catalog = gravitino_client.create_catalog(name="catalog", - type=Catalog.Type.FILESET, + catalog_type=Catalog.Type.FILESET, provider="hadoop", comment="This is a Hadoop fileset catalog", properties={"location": "/tmp/test1"}) diff --git a/docs/manage-model-metadata-using-gravitino.md b/docs/manage-model-metadata-using-gravitino.md index 519f79b7f7..74d2a3e76a 100644 --- a/docs/manage-model-metadata-using-gravitino.md +++ b/docs/manage-model-metadata-using-gravitino.md @@ -75,7 +75,7 @@ Catalog catalog = gravitinoClient.createCatalog( ```python gravitino_client: GravitinoClient = GravitinoClient(uri="http://localhost:8090", metalake_name="example") catalog = gravitino_client.create_catalog(name="model_catalog", - type=Catalog.Type.MODEL, + catalog_type=Catalog.Type.MODEL, provider=None, comment="This is a model catalog", properties={"k1": "v1"})