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

roryqi 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 81c18b1e1d [Cherry-pick to branch-1.1] [#9973] fix(docs): Add the 
documents about Flink catalog name limitation (#10145) (#10151)
81c18b1e1d is described below

commit 81c18b1e1d1253e549e3640ce52e8cc51ea2d8e9
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 3 20:24:32 2026 +0800

    [Cherry-pick to branch-1.1] [#9973] fix(docs): Add the documents about 
Flink catalog name limitation (#10145) (#10151)
    
    **Cherry-pick Information:**
    - Original commit: ab28a7f2ad6a358fc47c01961a2eb69a67e05490
    - Target branch: `branch-1.1`
    - Status: ✅ Clean cherry-pick (no conflicts)
    
    Co-authored-by: roryqi <[email protected]>
---
 docs/flink-connector/flink-connector.md            | 10 ++++++++++
 docs/manage-relational-metadata-using-gravitino.md |  5 +++++
 2 files changed, 15 insertions(+)

diff --git a/docs/flink-connector/flink-connector.md 
b/docs/flink-connector/flink-connector.md
index 5725f9a9b5..1d0c31664e 100644
--- a/docs/flink-connector/flink-connector.md
+++ b/docs/flink-connector/flink-connector.md
@@ -83,6 +83,16 @@ INSERT INTO hive_students VALUES (1, 'Alice'), (2, 'Bob');
 SELECT * FROM hive_students;
 ```
 
+## Catalog naming restrictions
+
+:::caution
+When creating catalogs that will be used with the Flink connector, the catalog 
name **cannot start with a number**. This is a Flink limitation. For example:
+- ✅ Valid: `catalog_hive`, `hive_catalog`, `my_catalog_1`
+- ❌ Invalid: `1_catalog`, `123catalog`, `2hive`
+
+If you create a catalog with a name starting with a number, it will not be 
accessible from Flink.
+:::
+
 ## Datatype mapping
 
 Gravitino flink connector support the following datatype mapping between Flink 
and Gravitino.
diff --git a/docs/manage-relational-metadata-using-gravitino.md 
b/docs/manage-relational-metadata-using-gravitino.md
index 55fdf23197..def3eb2d84 100644
--- a/docs/manage-relational-metadata-using-gravitino.md
+++ b/docs/manage-relational-metadata-using-gravitino.md
@@ -45,6 +45,11 @@ It is not recommended to use one data source to create 
multiple catalogs,
 as multiple catalogs operating on the same source may result in unpredictable 
behavior.
 :::
 
+:::caution
+If you plan to use the [Flink 
connector](./flink-connector/flink-connector.md), the catalog name **cannot 
start with a number**.
+This is a Flink limitation. For example, `catalog_hive` is valid, but 
`1_catalog` is not.
+:::
+
 :::tip
 The code below is an example of creating a Hive catalog. For other relational 
catalogs, the code is
 similar, but the catalog type, provider, and properties may be different. For 
more details, please refer to the related doc.

Reply via email to