Repository navigation
[Docs] Fix connector doc inaccuracies and add missing option rows verified against source code - #12447
Conversation
…ified against source code
DanielLeens
left a comment
There was a problem hiding this comment.
What Problem Does This PR Solve?
- User pain point: The connector documentation for roughly 30 JDBC and CDC connectors (plus a few file/NoSQL sinks) contains stale or inaccurate details — wrong option types (e.g.
Durationwhere the code usesLong), misleading default values (a hardcodedUTCfor a time zone that is actually computed at runtime, or "job parallelism" where the real fallback is a fixed10), incomplete data-type mapping tables, and at least one option documented on a connector that doesn't actually have it. Users configuring these connectors get incorrect expectations about defaults and type mappings, which leads to avoidable configuration mistakes. - Fix approach: A pure documentation PR (66 Markdown files under
docs/en/connectorsanddocs/zh/connectors, no source code touched) that re-derives option defaults, types, and data-type mapping rows directly from the correspondingOption/TypeConverter/TypeMapperclasses, corrects them, removes content that doesn't correspond to real options (e.g.decimal_type_narrowinginOracle-CDC.md, which only exists on the plain JDBC Oracle connector), and adds several real, previously-undocumented option rows (multi_table_sink_replica,value_converter_schema_enabled,ttl,allow_cascade_delete_unmapped_edges,incremental.parallelism,enable_concurrent_read, etc.). - One-sentence summary: This is a source-code-verified documentation-accuracy pass across roughly 30 connectors' English and Chinese docs, correcting option types, defaults, and data-type mapping tables to match the actual implementation.
1. Code Change Review
1.1 Core Logic Analysis
No production code is touched anywhere in this diff; all 66 changed files live under docs/en/connectors/** and docs/zh/connectors/**. Since the PR's entire value proposition rests on "verified against source code," I independently re-verified roughly 18 of its factual claims against the actual connector implementations rather than taking the PR description at face value:
Oracle-CDC.md/MySQL-CDC.md/Opengauss-CDC.md/DB2-CDC.md:connect.timeout.mstype corrected fromDurationtoLong, matchingOption<Long> CONNECT_TIMEOUT_MSinseatunnel-connectors-v2/connector-cdc/connector-cdc-base/.../option/JdbcSourceOptions.java:83-87.server-time-zonedefault changed from a hardcodedUTCto-, matchingSERVER_TIME_ZONE's actual runtime-computed defaultZoneId.systemDefault().getId()(JdbcSourceOptions.java:61-66) — the oldUTCvalue was flatly wrong for any JVM not running in UTC.Oracle-CDC.md: the entiredecimal_type_narrowingoption row and its dedicated subsection were removed. I greppedconnector-cdc-oracleandconnector-cdc-basefor this option and found zero references — it is exclusively a plain-JDBC-connector option (JdbcCommonOptions.DECIMAL_TYPE_NARROWING) that had been mistakenly copied into the CDC connector's doc. Removing it is correct.Oracle.md(source),DuckDB.md(source),HiveJdbc.md,Kingbase.md:partition_numdefault corrected from the vague "job parallelism" to a concrete10, matchingJdbcSourceTableConfig.DEFAULT_PARTITION_NUMBER = 10(JdbcSourceTableConfig.java:42,98) — the option itself is declared with.noDefaultValue()inJdbcSourceOptions.java:153-157, so10is genuinely the only real fallback, applied in code, not derived from parallelism.Oracle.md(sink) data-type table:INTEGER -> INTcorrected toINTEGER -> DECIMAL(38,0), andDATE -> DATEcorrected toDATE -> TIMESTAMP. Verified directly againstOracleTypeConverter.java:ORACLE_INTEGERmaps tonew DecimalType(DEFAULT_PRECISION, 0)(line 139,DEFAULT_PRECISION == MAX_PRECISION == 38), andORACLE_DATEmaps toLocalTimeType.LOCAL_DATE_TIME_TYPE(line 252-253), i.e. TIMESTAMP, not DATE. These are meaningful, previously-misleading corrections — a user relying on the old doc would wrongly expect an OracleDATEcolumn to surface as SeaTunnelDATE.DB2.md(sink) data-type table: movedXMLout of "Not supported yet" into theSTRINGrow, and addedBINARY/VARBINARYto theBYTESrow. MatchesDB2TypeConverter.java:189-206exactly (DB2_XML -> BasicType.STRING_TYPE;DB2_BINARY/DB2_VARBINARY->PrimitiveByteArrayType.INSTANCE).Vertica.md(sink) data-type table: dropped the bogusINT UNSIGNED -> BOOLEANmapping (Vertica has no such native type inVerticaTypeMapper.java, which only matches literalBIT), and fixed theVARBINARtypo toVARBINARY.Kafka.md: addedvalue_converter_schema_enabled(only effective forformat = compatible_kafka_connect_json, confirmed inKafkaSourceConfig.java:384-390) and addedmaxwell_json/compatible_kafka_connect_jsonto the "supported formats" prose — both are present in theMessageFormatenum (connector-kafka/.../config/MessageFormat.java), so the old prose was simply incomplete.S3-Redshift.md:file_format_typedefault corrected from"text"tocsv, matchingFileBaseSinkOptions.FILE_FORMAT_TYPE's.defaultValue(FileFormat.CSV).BigQuery.md,Clickhouse.md,Hbase.md,Hudi.md,Iceberg.md,Qdrant.md,Zendesk.md,DuckDB.md(sink):multi_table_sink_replicarows added/corrected to consistently show default1, matchingSinkConnectorCommonOptions.MULTI_TABLE_SINK_REPLICA's actual default.
Key Findings:
- Every default-value and type correction I spot-checked (about 18 distinct claims spanning Oracle, MySQL-CDC, Opengauss-CDC, DB2-CDC, DB2, Vertica, Kafka, S3-Redshift, DuckDB, HiveJdbc, Kingbase) matches the current source code; I found no regressions among the "corrected" values.
- One genuinely new inaccuracy was introduced:
HiveJdbc.md's data-type table (bothdocs/enanddocs/zh) now readsTINYINT -> TINYINT, butHiveTypeMapper.java:74-75maps HiveTINYINTtoBasicType.BYTE_TYPE. Every other connector doc in this repository that documents the same SeaTunnel type (Mysql.md,OceanBase.md,Cassandra.md,Easysearch.md,OssFile.md,S3File.md) consistently calls itBYTE, neverTINYINT. See Issue 1. - The pre-existing doc had merged
TINYINT<br/>SMALLINT -> SHORTinto a single row, which was already wrong (HiveTINYINTnever actually maps toSHORT). Splitting it into two rows is the right instinct; it just landed on the wrong target type name for the first row. - The PR correctly leaves all runtime code, plugin registration/factory classes, and dist-packaging files untouched, so none of the "connector registration matrix" or "plugin-mapping" concerns that would normally apply to a connector-touching PR are in play here.
docs/zh/connectors/sink/Hudi.mdgains a new "S3 Storage" section and a note thatrecord_key_fieldsis unvalidated forBULK_INSERT(causing aNullPointerExceptionat write time instead of a config-time error). I verified this exact gap in the code:HudiTableConfig.java:208-215only validatesrecord_key_fieldswhenop_type == WriteOperationType.UPSERT, andHudiRecordConverter.getHoodieKey/getRecordKey(HudiRecordConverter.java:79-93) calls.split(",")onrecordKeyFieldswheneverop_type != INSERT— includingBULK_INSERT— so a null value there does throw an NPE at write time, exactly as newly documented. This content already existed indocs/en/connectors/sink/Hudi.mdbefore this PR; the PR is bringing the Chinese translation into parity rather than introducing a new claim, and it correctly just documents the latent behavior instead of silently patching it, which is the right scope discipline for a docs-only PR.
Runtime path: not applicable. This PR does not touch seatunnel-engine, seatunnel-api, any Source/Sink/Transform implementation, Zeta scheduling, checkpoint/savepoint, or serialization code — it is prose-only, so no runtime execution path is reached or altered by this change.
1.2 Compatibility Impact
Fully compatible. No option name, default value, protocol, serialization format, or public API is changed — only prose describing pre-existing behavior is corrected. There is no risk to upgrade paths, checkpoint/savepoint restore, or historical job configs, since nothing outside docs/en and docs/zh is touched.
1.3 Performance / Side-Effect Analysis
Not applicable. No code, build, or packaging artifact is affected; there is zero CPU/memory/GC/networking/lock/retry/idempotency footprint.
1.4 Error Handling and Logging
Not applicable to production exception handling or logging, since no src/main code is touched. The one formal issue found is a documentation-accuracy issue, listed below.
Issue 1
- Location:
docs/en/connectors/source/HiveJdbc.md:56,docs/zh/connectors/source/HiveJdbc.md:53 - Problem: The newly split-out row reads
TINYINT | TINYINT. The actual mapping inseatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/hive/HiveTypeMapper.java:74-75isHIVE_TINYINT -> BasicType.BYTE_TYPE. Every other connector doc that documents this same SeaTunnel type (Mysql.md,OceanBase.md,Cassandra.md,Easysearch.md,OssFile.md,S3File.md) consistently calls itBYTE. - Potential risk: Low functional impact since this is docs-only, but a user reading this table would believe there is a distinct "TINYINT" SeaTunnel data type (there isn't —
SqlType.TINYINTis surfaced everywhere else in user-facing docs asBYTE), which can cause confusion when writingschemablocks or interpreting type-related error messages that referenceBYTE. - Best improvement: Change the row to
TINYINT | BYTEin both the English and Chinese files. - Severity: Medium
- Raised by another reviewer: No
2. Code Quality Assessment
2.1 Coding Standards
Not applicable in the Javadoc/comment sense — no Java source is touched. The Markdown tables are well-formed and each file's pre-existing column-count convention is respected (e.g. the 4-column zh/Hudi.md table vs. the 5-column en/Hudi.md table is a pre-existing style difference across the two locales, not something this PR introduced or needs to reconcile).
2.2 Test Coverage and Test Stability
No UT/E2E test code is touched, and none is warranted — this is a pure documentation change with no executable behavior to cover. Stability rating: not applicable (no test code changed).
2.3 Documentation Updates
This PR is itself the documentation update, so the usual "does docs/en and docs/zh need to be updated" question is answered by construction. I specifically compared every changed connector's docs/en and docs/zh counterpart and did not find a case where one language was updated while the other was skipped for the same fact. My initial suspicion that Hudi.md's "S3 Storage" section was zh-only turned out to be incorrect on closer inspection — that content already existed in docs/en/connectors/sink/Hudi.md prior to this PR, and this PR is simply catching the Chinese translation up to parity, which is exactly the right move. The one thing to fix in both languages is Issue 1 above (currently wrong identically in docs/en and docs/zh).
3. Architectural Soundness
3.1 Elegance of the Solution (Precise fix / Temporary workaround / Long-term solution)
Precise fix. Every change is a targeted, source-verified correction to a specific table cell, row, or paragraph — no restructuring, no speculative rewrites, no unrelated formatting churn across the 66 files.
3.2 Maintainability
Good. The changes make the docs a more faithful mirror of the underlying Option/TypeConverter classes, which reduces future doc/code drift rather than adding any new maintenance burden.
3.3 Extensibility
Not applicable — this is pure documentation content with no structural change to how the docs are organized.
3.4 Historical-Version Compatibility
Not applicable in the usual sense — no runtime behavior, config contract, or protocol is touched, so there's no historical-version compatibility surface to evaluate. mergeStateStatus is reported as BLOCKED with the PR branch 5 commits behind and 1 ahead of dev (diverged); this reflects normal branch-protection/review gating (this PR has not yet had a human/maintainer review), not a technical merge conflict — git diff against dev's current head applies cleanly with no conflict markers.
4. Issue Summary
| Number | Issue | Location | Severity |
|---|---|---|---|
| 1 | HiveJdbc.md TINYINT row should map to BYTE, not TINYINT, per HiveTypeMapper.java and the doc-wide naming convention used by every other connector |
docs/en/connectors/source/HiveJdbc.md:56, docs/zh/connectors/source/HiveJdbc.md:53 | Medium |
5. Merge Recommendation
Conclusion: Ready to merge after fixes
-
Blockers — must be fixed
- Issue 1 (Medium): a one-line change in each of the two
HiveJdbc.mdfiles (TINYINT | TINYINT->TINYINT | BYTE). I'm listing this as the thing to fix before merge, not because it carries any runtime risk (there is none — it's docs-only), but because the entire premise of this PR is "verified against source code," and this is the one row where that verification slipped. Shipping it as-is would mean the PR introduces a fresh inaccuracy on the exact axis it's meant to be cleaning up.
- Issue 1 (Medium): a one-line change in each of the two
-
Recommended fixes — non-blocking
- None. Every other claim I independently verified against the source turned out to be accurate and to be a genuine improvement over the prior text. This is not a "many small nits" situation — it's a well-researched pass, so there isn't a long tail of non-blocking suggestions to add on top of Issue 1.
Overall assessment: This is a strong, low-risk, high-value documentation PR. It touches 66 files across docs/en and docs/zh for roughly 30 connectors, and based on independently re-deriving about 18 of its factual claims (option types, defaults, and data-type mapping rows) from the actual Option/TypeConverter/TypeMapper source, it gets essentially everything right — including some genuinely valuable catches, like the Oracle sink DATE -> TIMESTAMP correction (previously misleading in a way that would have surprised users at schema-comparison time) and the removal of decimal_type_narrowing from Oracle-CDC.md (an option that only exists on the plain JDBC connector, never on the CDC one). CI is green across all three jobs (Build, Notify test workflow, labeler), so there's no CI-side concern to chase, and there's no compatibility, performance, or runtime-safety surface for this change to affect. The single Medium issue (Issue 1) is trivial to fix in both language files and doesn't require any redesign — once that row is corrected, this is a clean merge.
No alternative implementation applies here (the Option A/B framing is for competing designs, and there's no design decision to weigh in a pure fact-correction docs PR). The only conceivable alternative — splitting this into 30 per-connector PRs — isn't warranted given how mechanically independent and low-risk each row-level correction is; keeping it as one PR makes it easier to review as a coherent "doc accuracy sweep" rather than harder.
DanielLeens
left a comment
There was a problem hiding this comment.
Thanks for the quick follow-up! I re-reviewed the latest head and the fix addresses the one issue I raised in my previous pass exactly and minimally — nothing new to add.
What Problem Does This PR Solve?
- User pain point: The connector documentation for roughly 30 JDBC and CDC connectors (plus a few file/NoSQL sinks) contained stale or inaccurate details — wrong option types, misleading default values, incomplete data-type mapping tables, and at least one option documented on a connector that doesn't actually have it. Users configuring these connectors could end up with wrong expectations about defaults and type mappings.
- Fix approach: A pure documentation PR across
docs/en/connectorsanddocs/zh/connectorsthat re-derives option defaults, types, and data-type mapping rows directly from the correspondingOption/TypeConverter/TypeMapperclasses, removes content that doesn't correspond to real options, and adds several real, previously-undocumented option rows. - One-sentence summary: A source-code-verified documentation-accuracy pass across roughly 30 connectors' English and Chinese docs.
1. Code Change Review
1.1 Core Logic Analysis
No production code is touched anywhere in this diff — every changed file lives under docs/en/connectors/** or docs/zh/connectors/**. On top of the ~18 claims I independently verified against source in the previous round (all of which still hold, since nothing in the follow-up commit touches that content), I re-checked a few of the highest-value ones again this round directly against the current dialect classes:
OracleTypeConverter:ORACLE_INTEGERmaps toDecimalType(38, 0)andORACLE_DATEmaps toLocalTimeType.LOCAL_DATE_TIME_TYPE— confirms theOracle.mdsink-table corrections (INTEGER -> DECIMAL(38,0),DATE -> TIMESTAMP) are accurate and meaningfully more correct than the prior text.DB2TypeConverter:DB2_XMLresolves to a string source type andDB2_BINARY/DB2_VARBINARYboth flow into the byte-array branch — confirms theDB2.mdsink-table move ofXMLintoSTRINGand the addition ofBINARY/VARBINARYunderBYTES.
The one item my previous review flagged — HiveJdbc.md's data-type table showing TINYINT | TINYINT instead of TINYINT | BYTE — is fixed by the new commit, in both the English and Chinese files, and matches HiveTypeMapper's actual HIVE_TINYINT -> BasicType.BYTE_TYPE mapping. The fix is a clean, targeted two-line change with no side effects.
Key Findings
- The follow-up commit fixes the previously-raised issue exactly and minimally, with no new inaccuracy introduced.
- No production code, plugin registration/factory class, or dist-packaging file is touched anywhere in the diff, so the connector-registration-matrix concerns that would normally apply to a connector PR don't apply here.
- This is a pure documentation-accuracy pass with no runtime execution path — nothing in
seatunnel-engine,seatunnel-api, or any Source/Sink/Transform implementation is reached or altered. - Every other correction across the ~30 connectors that I checked against source (Oracle, MySQL/Opengauss/DB2 CDC option types and defaults, Vertica, Kafka, S3-Redshift, Hudi, etc.) remains accurate in the current head.
Runtime path: not applicable — docs-only change, no runtime execution path is affected.
1.2 Compatibility Impact
Fully compatible. No option name, default value, protocol, serialization format, or public API is changed — only prose describing pre-existing behavior is corrected or clarified.
1.3 Performance / Side-Effect Analysis
Not applicable — no code, build, or packaging artifact is affected.
1.4 Error Handling and Logging
Not applicable — no src/main code is touched.
No blocking issues found in this round. The one Medium issue from the previous review is resolved.
2. Code Quality Assessment
2.1 Coding Standards
Not applicable in the Javadoc/comment sense, since no Java source is touched. The Markdown tables are well-formed and consistent with each file's existing conventions.
2.2 Test Coverage and Test Stability
No UT/E2E test code is touched, and none is warranted for a pure documentation change. Stability rating: N/A (no test code changed).
2.3 Documentation Updates
This PR is itself the documentation update. docs/en and docs/zh are kept in lockstep for every changed fact, including the follow-up fix — both HiveJdbc.md files were corrected together in the same commit.
3. Architectural Soundness
3.1 Elegance of the Solution
Precise fix. The follow-up commit is a targeted, two-line correction of the exact row previously flagged, with no unrelated changes.
3.2 Maintainability
Good — the documentation is now a more faithful mirror of the underlying Option/TypeConverter classes, reducing future doc/code drift.
3.3 Extensibility
Not applicable — pure documentation content, no structural change.
3.4 Historical-Version Compatibility
Not applicable — no runtime behavior, config contract, or protocol is touched. The branch currently shows as diverged from dev (ahead_by=2, behind_by=5) with mergeable_state=unstable, but mergeable=true and there are no conflict markers; CI on the current head is fully green, so this is routine branch-protection/queue status rather than a technical blocker.
4. Issue Summary
No open issues remain. The previously-tracked Issue 1 (HiveJdbc.md TINYINT/BYTE mapping) is resolved by the latest commit.
| Number | Issue | Location | Severity | Status |
|---|---|---|---|---|
| 1 | HiveJdbc.md TINYINT row mapped to TINYINT instead of BYTE |
docs/en/connectors/source/HiveJdbc.md, docs/zh/connectors/source/HiveJdbc.md | Medium | Resolved in the latest commit |
5. Merge Recommendation
Conclusion: Ready to merge
-
Blockers — must be fixed
- None remaining.
-
Recommended fixes — non-blocking
- None. Every claim I checked against source, in this round and the previous one, turned out to be accurate.
Overall assessment: this is a strong, low-risk, high-value documentation PR — a source-verified accuracy pass across roughly 30 connectors' English and Chinese docs, including some genuinely useful catches (the Oracle sink DATE -> TIMESTAMP correction, and dropping decimal_type_narrowing from Oracle-CDC.md where it never actually applied). The one issue I raised last round is fixed cleanly and correctly. I also want to +1 @nzw921rx's approval — I don't see anything further to add on top of it.
No alternative implementation applies here; this is a fact-correction docs PR with no competing design to weigh. Thanks again for iterating on this quickly — nice work.
Reconcile the PG base CDC abstraction with the dev changes that landed on the pre-refactor Postgres CDC classes: - apache#12346: keep the schema-change resolver conditional on schema-changes.enabled in the PG-base-backed PostgresIncrementalSource - apache#11399: keep database.include.list unset; the rationale comment moves to PgBaseSourceConfigFactory where the Debezium properties are assembled now, and the regression assertion is kept in PostgresSourceConfigFactoryTest - apache#12447: take the corrected server-time-zone / connect.timeout.ms rows in the Opengauss-CDC docs and keep the require-replica-identity-full row
Resolve JDBC-family source table and RocketMQ FAQ conflicts (EN/ZH): keep the dev-side wording verified in apache#12447/apache#12865/apache#13089 (DB2 BIGINT to LONG, DECIMAL(precision, scale), OceanBase merged unsigned rows and Number(p,s) qualification, partition-row formatting).
Resolve JDBC-family source table conflicts (EN/ZH): keep the dev-side partition-row formatting and OceanBase/Oracle rows verified in apache#12447/apache#12865/apache#13050.
Purpose of this pull request
This PR fixes a batch of real documentation defects found by auditing connector docs against the actual connector source on
upstream/dev(option definitions,optionRule()wiring, dialect type converters and runtime fallbacks), and syncs Chinese docs that lagged behind their English counterparts. Every fix listed below was verified against the cited source file before editing. 66 documentation files are updated (English + Chinese kept in lockstep).What documentation issues were found and changed
CDC connector docs (
docs/{en,zh}/connectors/source/)server-time-zonedefault shown asUTCin MySQL-CDC, Oracle-CDC, Opengauss-CDC and DB2-CDC, whileJdbcSourceOptions.java:63-65defaults toZoneId.systemDefault().getId(); the rows even contradicted their own description ("If not set, then ZoneId.systemDefault() is used"). Default column changed to-.connect.timeout.mstype shown asDurationin the same four connectors, while the code declareslongType()(milliseconds). Changed toLong; DB2-CDC also showed the default as30sinstead of30000.decimal_type_narrowingoption (row + full section with mapping tables) that does not exist in any CDC module — the option is defined only inconnector-jdbc(JdbcCommonOptions.java), andOracleIncrementalSourceFactory.optionRule()has no such entry. Row and section removed (en + zh).incremental.parallelism(read byIncrementalSource.java:125) added to MySQL-CDC and Opengauss-CDC;enable_concurrent_read(read byJdbcSourceConfigFactory.java:305) added to Opengauss-CDC and DB2-CDC, with code-accurate defaults (1 / true). MongoDB-CDC was deliberately left alone: its runtime never reads these base options.Kafka source docs (
docs/{en,zh}/connectors/source/Kafka.md)format = "NATIVE"example setvalue_converter_schema_enabled, which is a silent no-op there — the option is only read in theCOMPATIBLE_KAFKA_CONNECT_JSONbranch (KafkaSourceConfig.java:384-390). Removed from the example and documented properly as a new option row with its real default (true) and scope.maxwell_jsonandcompatible_kafka_connect_json, contradicting the doc's ownformatrow andMessageFormat.java. List corrected in en + zh.JDBC-family docs (source + sink, en + zh)
partition_numdefault documented as "job parallelism" in DuckDB, Kingbase, Oracle and HiveJdbc source docs, while the code default is a fixed 10 (JdbcSourceTableConfig.java:42,97-99); the DB2 source doc already documented 10 correctly. Fixed in option tables and "split" sections. The Snowflake "greater ofpartition_numor job parallelism" tip described logic that does not exist (FixedChunkSplitterusespartition_numonly) and was reworded (en + zh).partition_lower_bound/partition_upper_boundtypedBigDecimalwhileJdbcSourceOptions.java:138-151declaresstringType(). Fixed in tables and sub-headings.databasedefault shown asmainwhileJdbcSinkOptions.java:31hasnoDefaultValue(). Fixed to-.schema_save_modeomitted the supportedIGNOREvalue (SchemaSaveMode.java:32). Added.file_format_typedefault shown as"text"whileFileBaseSinkOptions.java:197-201defaults toFileFormat.CSV. Fixed (en + zh).databaseclaimed to default to the database name parsed from the URL — no URL parsing exists; the source falls back to the literaldefault(DatabendSourceFactory.java:88) and the sink applies no fallback (DatabendSinkConfig.java:64). Both descriptions corrected (en + zh, source + sink).database/tablesink rows claimed "mutually exclusive withqueryand has a higher priority" in DuckDB, Kingbase, Mysql, Oracle, PostgreSql, Redshift, SqlServer and Vertica sink docs, contradicting the siblingqueryrow and the code: the options are conditional ongenerate_sink_sql(JdbcSinkFactory.java:245-246). Reworded everywhere (en + zh).query") although the connector has neither option;StarRocksSinkFactory.java:97-98falls back to the upstream table name whentableis blank. Section rewritten (en + zh, the zh copy also fixed a "具具有" typo).XML→ STRING (DB2TypeConverter.java:189-193),BINARY/VARBINARY→ BYTES, onlyROWIDunsupported. Vertica sink (en + zh):BIT(any width) → BOOLEAN,INT UNSIGNEDonly → BIGINT,BIT(n)never BYTES (VerticaTypeMapper.java:99-114), plus aVARBINARtypo. HiveJdbc (en + zh):TINYINT→ TINYINT, not SHORT (HiveTypeMapper.java:74-77). Oracle sink (en + zh):INTEGER→ DECIMAL(38,0) andDATE→ TIMESTAMP, matchingOracleTypeConverterand the Oracle source doc.ClickHouse family (
docs/{en,zh}/connectors/sink/)key_pathdefault shown as/tmp/id_rsawhileClickhouseFileSinkOptionsdeclaresnoDefaultValue()(RsyncFileTransferexplicitly handles null). Fixed to-.server_time_zone(in both factories'optionRule()) andmulti_table_sink_replica/clickhouse.configrows added with code-accurate defaults.Sink option-table consistency (
multi_table_sink_replicaand others)multi_table_sink_replica(default 1,SinkConnectorCommonOptions.java:31-34) missing from Hudi, Qdrant and Zendesk sink tables (all three factories include it inoptionRule()); default shown as-instead of 1 in Iceberg and BigQuery sink tables. Fixed in en + zh.ttloption undocumented although it is defined (HbaseSinkOptions.java:80-84) and applied per cell at write time (HbaseSinkWriter). Row added (en + zh).allow_cascade_delete_unmapped_edgesundocumented (defined and inoptionRule(); its siblingdelete_vertex_with_edgesis documented). Row added (en + zh).record_key_fieldsnotes and the "S3 Storage" example section — translated and added.Areas / files updated
66 files under
docs/en/connectors/anddocs/zh/connectors/(source + sink CDC, messaging, JDBC family, file/lake, ClickHouse, vector/SaaS sinks).Both English and Chinese docs checked?
Yes — every fix above was applied to the English and Chinese docs in lockstep; zh-only gaps (Hudi notes/S3 section) were filled from the English content.
Duplicate-PR check (last 7 days)
Checked open/recent doc PRs before starting: #12347 (file-connector
field_delimiter, Kingbase/PostgreSQL sharding threshold, Dorisenable-delete, OneSignalformat, LocalFile/Hive tables, faq/developer links, zh Splunk), #12378 (doc moves + feature-checklist sync), #12409 (Http-Linear, IoTDBv2 changelog, Mem0 options, zh sync for HdfsFile/S3File/OssFile/SftpFile/ObsFile/Http/Prometheus/AmazonSqs/SqlServer-CDC/GraphQL/InfluxDB), #12423 (transforms, Zeta engine pages, Maxcompute/SelectDB/SqlServer-CDC/StarRocks/Paimon/DynamoDB/MySQL-CDC skip-rows defaults, zh Doris/rest-api-v2) and #12427 (JDBC/Kingbase/PostgreSQLsplit.sample-sharding.threshold) were reviewed file-by-file — none of the issues or rows touched by this PR overlap them. This PR intentionally does not touch PostgreSQL-CDC (open audit #12359) or MongoDB-CDC base-split options (runtime never reads them).How the change was verified
defaultValue()/noDefaultValue(),optionRule()required/conditional wiring, dialect type converters, runtime fallbacks) — cited above per item.