Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Translate "Table ID" Page for Flink CDC Chinese Documentation #3888

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions docs/content.zh/docs/core-concept/table-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ specific language governing permissions and limitations
under the License.
-->

# Definition
When connecting to external systems, it is necessary to establish a mapping relationship with the storage objects of the external system. This is what **Table Id** refers to.
# 定义

# Example
To be compatible with most external systems, the Table Id is represented by a 3-tuple : (namespace, schemaName, tableName).
Connectors should establish the mapping between Table Id and storage objects in external systems.
**Table Id**主要用来建立连接器与外部系统存储对象的映射关系,所有外部系统的数据集合都可以映射到一个专用的
Table Id。

The following table lists the parts in table Id of different data systems:
# 示例

| data system | parts in tableId | String example |
|-----------------------|--------------------------|---------------------|
| Oracle/PostgreSQL | database, schema, table | mydb.default.orders |
| MySQL/Doris/StarRocks | database, table | mydb.orders |
| Kafka | topic | orders |
为了兼容绝大部分的外部数据系统,Table Id 由命名空间、模式名、表名3个部分组成,即(namespace, schemaName, tableName)。不同的外部系统Table Id的构造参数可能不同,比如Oracle数据库的Table Id包含命名空间(database)、模式名(schema)和表名(table),Doris的Table Id包含模式名(database)和表名(table),Kafka的Table Id仅包含表名(topic)。

下面是一些常见的外部系统及其对应的 Table Id 格式:

| 数据系统 | Table id构造参数 | 字符串示例 |
|-----------------------|-------------------------|---------------------|
| Oracle/PostgreSQL | database, schema, table | mydb.default.orders |
| MySQL/Doris/StarRocks | database, table | mydb.orders |
| Kafka | topic | orders |
Loading