nzw921rx commented on code in PR #11971: URL: https://github.com/apache/seatunnel/pull/11971#discussion_r4324545651
##########
docs/zh/connectors/source/Jdbc.md:
##########
@@ -157,6 +159,7 @@ driver = "org.mariadb.jdbc.Driver"
| username | String | 否 | - |
数据库账号。历史配置键 `user` 仍作为兼容键支持。
|
| password | String | 否 | - |
数据库账号的密码。
|
| query | String | 否 | - | 要执行的
SQL。需要同时明确表身份和元数据时,可以与 `table_path` 组合使用。
|
+| query_table_metadata_merge | Enum | 否 | COMMENT | 仅配置
`query` 的源表合并底表元数据的范围(仅在查询被验证为映射到单张物理表时生效)。`COMMENT` 仅合并字段注释和表注释;`ALL`
额外合并表选项、主键、约束键和分区键——效果等同于同时配置 `table_path` 与 `query`,可能改变 Sink 建表 DDL,使配置了
`generate_sink_sql` 的 Sink 从 insert 切换为 upsert,并启用基于主键的切分规划;`NONE`
完全跳过底表解析。也可以在 `table_list` 中按表单独配置。
|
Review Comment:
default is NONE?
Maintain the old behavior for unconfigured users.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
