Skip to content

[Docs] Fix connector doc inaccuracies and add missing option rows verified against source code - #12447

Merged
nzw921rx merged 2 commits into
apache:devfrom
zhangshenghang:docs-fix-batch-20260922
Sep 23, 2026
Merged

nzw921rx merged 2 commits into
apache:devfrom
zhangshenghang:docs-fix-batch-20260922

Conversation

@zhangshenghang

Copy link
Copy Markdown
Member

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/)

  1. server-time-zone default shown as UTC in MySQL-CDC, Oracle-CDC, Opengauss-CDC and DB2-CDC, while JdbcSourceOptions.java:63-65 defaults to ZoneId.systemDefault().getId(); the rows even contradicted their own description ("If not set, then ZoneId.systemDefault() is used"). Default column changed to -.
  2. connect.timeout.ms type shown as Duration in the same four connectors, while the code declares longType() (milliseconds). Changed to Long; DB2-CDC also showed the default as 30s instead of 30000.
  3. Oracle-CDC documented a decimal_type_narrowing option (row + full section with mapping tables) that does not exist in any CDC module — the option is defined only in connector-jdbc (JdbcCommonOptions.java), and OracleIncrementalSourceFactory.optionRule() has no such entry. Row and section removed (en + zh).
  4. Missing options that ARE consumed at runtime: incremental.parallelism (read by IncrementalSource.java:125) added to MySQL-CDC and Opengauss-CDC; enable_concurrent_read (read by JdbcSourceConfigFactory.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)

  1. The format = "NATIVE" example set value_converter_schema_enabled, which is a silent no-op there — the option is only read in the COMPATIBLE_KAFKA_CONNECT_JSON branch (KafkaSourceConfig.java:384-390). Removed from the example and documented properly as a new option row with its real default (true) and scope.
  2. The FAQ "supported message formats" list omitted maxwell_json and compatible_kafka_connect_json, contradicting the doc's own format row and MessageFormat.java. List corrected in en + zh.

JDBC-family docs (source + sink, en + zh)

  1. partition_num default 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 of partition_num or job parallelism" tip described logic that does not exist (FixedChunkSplitter uses partition_num only) and was reworded (en + zh).
  2. DuckDB source partition_lower_bound / partition_upper_bound typed BigDecimal while JdbcSourceOptions.java:138-151 declares stringType(). Fixed in tables and sub-headings.
  3. DuckDB sink database default shown as main while JdbcSinkOptions.java:31 has noDefaultValue(). Fixed to -.
  4. DuckDB sink (en) schema_save_mode omitted the supported IGNORE value (SchemaSaveMode.java:32). Added.
  5. S3-Redshift file_format_type default shown as "text" while FileBaseSinkOptions.java:197-201 defaults to FileFormat.CSV. Fixed (en + zh).
  6. Databend database claimed to default to the database name parsed from the URL — no URL parsing exists; the source falls back to the literal default (DatabendSourceFactory.java:88) and the sink applies no fallback (DatabendSinkConfig.java:64). Both descriptions corrected (en + zh, source + sink).
  7. database/table sink rows claimed "mutually exclusive with query and has a higher priority" in DuckDB, Kingbase, Mysql, Oracle, PostgreSql, Redshift, SqlServer and Vertica sink docs, contradicting the sibling query row and the code: the options are conditional on generate_sink_sql (JdbcSinkFactory.java:245-246). Reworded everywhere (en + zh).
  8. StarRocks sink carried the same stale JDBC-template sentences ("auto-generate sql", "mutually exclusive with query") although the connector has neither option; StarRocksSinkFactory.java:97-98 falls back to the upstream table name when table is blank. Section rewritten (en + zh, the zh copy also fixed a "具具有" typo).
  9. Type-mapping fixes against the dialect converters: DB2 source/sink (en + zh): XML → STRING (DB2TypeConverter.java:189-193), BINARY/VARBINARY → BYTES, only ROWID unsupported. Vertica sink (en + zh): BIT (any width) → BOOLEAN, INT UNSIGNED only → BIGINT, BIT(n) never BYTES (VerticaTypeMapper.java:99-114), plus a VARBINAR typo. HiveJdbc (en + zh): TINYINT → TINYINT, not SHORT (HiveTypeMapper.java:74-77). Oracle sink (en + zh): INTEGER → DECIMAL(38,0) and DATE → TIMESTAMP, matching OracleTypeConverter and the Oracle source doc.

ClickHouse family (docs/{en,zh}/connectors/sink/)

  1. ClickhouseFile key_path default shown as /tmp/id_rsa while ClickhouseFileSinkOptions declares noDefaultValue() (RsyncFileTransfer explicitly handles null). Fixed to -.
  2. Clickhouse sink and ClickhouseFile sink omitted accepted options: server_time_zone (in both factories' optionRule()) and multi_table_sink_replica / clickhouse.config rows added with code-accurate defaults.

Sink option-table consistency (multi_table_sink_replica and others)

  1. multi_table_sink_replica (default 1, SinkConnectorCommonOptions.java:31-34) missing from Hudi, Qdrant and Zendesk sink tables (all three factories include it in optionRule()); default shown as - instead of 1 in Iceberg and BigQuery sink tables. Fixed in en + zh.
  2. Hbase sink ttl option undocumented although it is defined (HbaseSinkOptions.java:80-84) and applied per cell at write time (HbaseSinkWriter). Row added (en + zh).
  3. HugeGraph sink allow_cascade_delete_unmapped_edges undocumented (defined and in optionRule(); its sibling delete_vertex_with_edges is documented). Row added (en + zh).
  4. zh Hudi sink missing content present in en: the multi-table flatten/record_key_fields notes and the "S3 Storage" example section — translated and added.

Areas / files updated

66 files under docs/en/connectors/ and docs/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, Doris enable-delete, OneSignal format, 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/PostgreSQL split.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

  • Every changed row was cross-checked against the connector source (option keys, defaultValue()/noDefaultValue(), optionRule() required/conditional wiring, dialect type converters, runtime fallbacks) — cited above per item.
  • Scripted structural checks over all 66 changed files: markdown table column-count consistency, balanced code fences, and resolution of every relative link — all pass.
  • No docs site build exists in this repository (the Docusaurus toolchain lives in the separate seatunnel-website repo) and the PR contains no code changes, so no Maven build was run; the checks above are the doc-scoped equivalents.

@DanielLeens DanielLeens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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. Duration where the code uses Long), misleading default values (a hardcoded UTC for a time zone that is actually computed at runtime, or "job parallelism" where the real fallback is a fixed 10), 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/connectors and docs/zh/connectors, no source code touched) that re-derives option defaults, types, and data-type mapping rows directly from the corresponding Option/TypeConverter/TypeMapper classes, corrects them, removes content that doesn't correspond to real options (e.g. decimal_type_narrowing in Oracle-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.ms type corrected from Duration to Long, matching Option<Long> CONNECT_TIMEOUT_MS in seatunnel-connectors-v2/connector-cdc/connector-cdc-base/.../option/JdbcSourceOptions.java:83-87. server-time-zone default changed from a hardcoded UTC to -, matching SERVER_TIME_ZONE's actual runtime-computed default ZoneId.systemDefault().getId() (JdbcSourceOptions.java:61-66) — the old UTC value was flatly wrong for any JVM not running in UTC.
  • Oracle-CDC.md: the entire decimal_type_narrowing option row and its dedicated subsection were removed. I grepped connector-cdc-oracle and connector-cdc-base for 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_num default corrected from the vague "job parallelism" to a concrete 10, matching JdbcSourceTableConfig.DEFAULT_PARTITION_NUMBER = 10 (JdbcSourceTableConfig.java:42,98) — the option itself is declared with .noDefaultValue() in JdbcSourceOptions.java:153-157, so 10 is genuinely the only real fallback, applied in code, not derived from parallelism.
  • Oracle.md (sink) data-type table: INTEGER -> INT corrected to INTEGER -> DECIMAL(38,0), and DATE -> DATE corrected to DATE -> TIMESTAMP. Verified directly against OracleTypeConverter.java: ORACLE_INTEGER maps to new DecimalType(DEFAULT_PRECISION, 0) (line 139, DEFAULT_PRECISION == MAX_PRECISION == 38), and ORACLE_DATE maps to LocalTimeType.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 Oracle DATE column to surface as SeaTunnel DATE.
  • DB2.md (sink) data-type table: moved XML out of "Not supported yet" into the STRING row, and added BINARY/VARBINARY to the BYTES row. Matches DB2TypeConverter.java:189-206 exactly (DB2_XML -> BasicType.STRING_TYPE; DB2_BINARY/DB2_VARBINARY -> PrimitiveByteArrayType.INSTANCE).
  • Vertica.md (sink) data-type table: dropped the bogus INT UNSIGNED -> BOOLEAN mapping (Vertica has no such native type in VerticaTypeMapper.java, which only matches literal BIT), and fixed the VARBINAR typo to VARBINARY.
  • Kafka.md: added value_converter_schema_enabled (only effective for format = compatible_kafka_connect_json, confirmed in KafkaSourceConfig.java:384-390) and added maxwell_json/compatible_kafka_connect_json to the "supported formats" prose — both are present in the MessageFormat enum (connector-kafka/.../config/MessageFormat.java), so the old prose was simply incomplete.
  • S3-Redshift.md: file_format_type default corrected from "text" to csv, matching FileBaseSinkOptions.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_replica rows added/corrected to consistently show default 1, matching SinkConnectorCommonOptions.MULTI_TABLE_SINK_REPLICA's actual default.

Key Findings:

  1. 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.
  2. One genuinely new inaccuracy was introduced: HiveJdbc.md's data-type table (both docs/en and docs/zh) now reads TINYINT -> TINYINT, but HiveTypeMapper.java:74-75 maps Hive TINYINT to BasicType.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 it BYTE, never TINYINT. See Issue 1.
  3. The pre-existing doc had merged TINYINT<br/>SMALLINT -> SHORT into a single row, which was already wrong (Hive TINYINT never actually maps to SHORT). Splitting it into two rows is the right instinct; it just landed on the wrong target type name for the first row.
  4. 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.
  5. docs/zh/connectors/sink/Hudi.md gains a new "S3 Storage" section and a note that record_key_fields is unvalidated for BULK_INSERT (causing a NullPointerException at write time instead of a config-time error). I verified this exact gap in the code: HudiTableConfig.java:208-215 only validates record_key_fields when op_type == WriteOperationType.UPSERT, and HudiRecordConverter.getHoodieKey/getRecordKey (HudiRecordConverter.java:79-93) calls .split(",") on recordKeyFields whenever op_type != INSERT — including BULK_INSERT — so a null value there does throw an NPE at write time, exactly as newly documented. This content already existed in docs/en/connectors/sink/Hudi.md before 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 in seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/hive/HiveTypeMapper.java:74-75 is HIVE_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 it BYTE.
  • 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.TINYINT is surfaced everywhere else in user-facing docs as BYTE), which can cause confusion when writing schema blocks or interpreting type-related error messages that reference BYTE.
  • Best improvement: Change the row to TINYINT | BYTE in 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

  1. Blockers — must be fixed

    • Issue 1 (Medium): a one-line change in each of the two HiveJdbc.md files (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.
  2. 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.

@nzw921rx nzw921rx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@nzw921rx
nzw921rx added this pull request to the merge queue Sep 23, 2026

@DanielLeens DanielLeens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/connectors and docs/zh/connectors that re-derives option defaults, types, and data-type mapping rows directly from the corresponding Option/TypeConverter/TypeMapper classes, 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_INTEGER maps to DecimalType(38, 0) and ORACLE_DATE maps to LocalTimeType.LOCAL_DATE_TIME_TYPE — confirms the Oracle.md sink-table corrections (INTEGER -> DECIMAL(38,0), DATE -> TIMESTAMP) are accurate and meaningfully more correct than the prior text.
  • DB2TypeConverter: DB2_XML resolves to a string source type and DB2_BINARY/DB2_VARBINARY both flow into the byte-array branch — confirms the DB2.md sink-table move of XML into STRING and the addition of BINARY/VARBINARY under BYTES.

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

  1. The follow-up commit fixes the previously-raised issue exactly and minimally, with no new inaccuracy introduced.
  2. 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.
  3. 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.
  4. 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

  1. Blockers — must be fixed

    • None remaining.
  2. 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.

Merged via the queue into apache:dev with commit 2a8abf1 Sep 23, 2026
4 checks passed
davidzollo added a commit to davidzollo/seatunnel that referenced this pull request Oct 5, 2026
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
zhangshenghang pushed a commit to zhangshenghang/seatunnel that referenced this pull request Nov 3, 2026
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).
zhangshenghang pushed a commit to zhangshenghang/seatunnel that referenced this pull request Nov 3, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants