Repository navigation
[Docs] Fix connector and transform doc inaccuracies verified against source code - #13050
Conversation
DanielLeens
left a comment
There was a problem hiding this comment.
Thanks for contributing this broad documentation audit to Apache SeaTunnel. I read the complete 49-file diff and checked the changed claims against their factories, converters and reader constructors. Many corrections are useful, especially timestamp type separation, real JDBC defaults and Redis LPUSH ordering. Three accuracy issues need a focused revision before merge.
What Problem Does This PR Solve?
User pain point: Configuration/type tables and feature claims have drifted from the implementations, causing invalid settings and incorrect data/precision expectations.
Fix approach: Correct en/zh connector mappings, required settings, feature flags, defaults and transform output examples against current source.
One-sentence summary: A Redis LIST write uses LPUSH, so reading with LRANGE returns the reverse insertion order. In contrast, Linear pagination still does not become active merely because its class extends HttpSource.
Review report time: 2026-10-29T12:09:22.849234-04:00. Current head 4d843544567770460150e676085f66599df0b7b2; base dev at f7a575432fba5c35d36659c16e1590e83ad1f296. Checks: Signal pull request update=SUCCESS; Build=SUCCESS. Check references: Signal pull request update Build. Compare: diverged, ahead 1, behind 12; merge state blocked / BLOCKED.
1. Code Change Review
1.1 Core Logic Analysis
All 49 changed documentation files were read. LinearSource.java:47-55 overrides createReader and calls the five-argument HttpSourceReader constructor; that overload at HttpSourceReader.java:85-102 supplies pageInfo=null, binaryMode=false and binaryChunkSize=0. Parent HttpSource.createReader (:284-296) passes all three, but the override does not call it. OracleTypeConverter.java:142-178 preserves positive NUMBER scale only through 18 and expands nonpositive scales using precision-scale. LLMTransformFactory.java:39-68 requires API_KEY for QIANFAN as well as the three listed providers. Other traced corrections: JdbcSourceOptions String bounds, JdbcSourceTableConfig absent query partition count 10, MySql/Postgres/SqlServer temporal branches, ClickhouseTypeConverter.reconvert TIME->String and TIMESTAMP->DateTime64, Doris serializer required format lookup, RedisDataType/RedisSingleClient LPUSH, CopyTransformConfig Map option and MultipleFieldOutputTransform retaining original columns before added output fields.
Before:
// Linear docs correctly said pagination/binary settings were ineffective
// Oracle docs used a fixed DECIMAL mapping
// LLM api_key was shown unconditionally requiredAfter:
// Proposed Linear docs now claim pagination/binary inheritance is effective (incorrect)
// Proposed Oracle docs promise DECIMAL(precision, scale) without limits (incomplete)
// Proposed LLM conditional list omits QIANFANKey Findings
- Documentation-only changes do not modify any runtime behavior.
- Class inheritance alone does not establish capability reachability: Linear overrides the reader creation boundary.
- Several shared JDBC/type/Redis/transform corrections match the real normal path.
- Oracle source precision normalization must be distinguished from an unlimited exact mapping and from sink DDL direction.
- Provider-specific validation must include the QIANFAN credential bundle.
Complete runtime path
User documentation -> job configuration -> FactoryUtil option validation
LinearSourceFactory -> new LinearSource -> parent parses HTTP settings
-> overridden LinearSource.createReader -> five-argument HttpSourceReader
-> constructor defaults pageInfo=null / binaryMode=false -> no pagination/binary path
JDBC source -> catalog/query metadata -> Oracle/MySQL/Postgres/SQLServer TypeConverter.convert
-> logical row schema -> reader conversion; sink auto-DDL separately uses reconvert
LLM factory optionRule -> provider conditional validation -> transform/model client
Redis writer -> client pipeline / RedisDataType LIST -> LPUSH
JsonPath -> MultipleFieldOutputTransform schema: original col, other, then appended name, age
The effects depend on the entry and preconditions above. Recovery, batching and connector lifecycle retain their existing contracts unless explicitly described here; source inspection is not runtime proof.
1.2 Compatibility Impact
Fully compatible. No production API, option/default, protocol, serialization or checkpoint state changes. These edits describe existing behavior and require no migration entry. Documentation that invites unsupported configurations is still a merge blocker even without Java changes.
1.3 Performance / Side-Effect Analysis
No production CPU, memory, GC, network, lock, concurrency, retry, idempotency or resource-lifecycle changes. Feature-table removals do not add a new guarantee. The review does not infer exactly-once delivery from split checkpointing or a sink feature badge.
1.4 Error Handling and Logging
Doris SeaTunnelRowSerializerFactory.java:35-39 dereferences an explicit stream-load format, so removing the JSON-default claim is correct. Linear capability claims and Oracle precision promises would misdirect users despite unchanged runtime errors/data conversion; see the numbered issues. No credential values are added to the docs.
Issue 1: Retain the Linear pagination and binary limitations
- Location:
docs/en/connectors/source/Http-Linear.md:30,57 - Problem description: The replacement text says inherited pageing, binary and binary_chunk_size settings take effect. The actual normal path uses LinearSource.createReader at lines 47-55, which calls the old five-argument HttpSourceReader overload and therefore fixes pagination to absent and binary mode to false. Parent configuration parsing is not enough to forward those values.
- Potential risk: Users can believe a paginated job read all pages when only one request was performed, or configure a binary path that the reader never enters. This is incorrect user-facing execution guidance.
- Best improvement / root-cause and location assessment: Restore the existing limitations in both languages and keep this PR documentation-only. A separate narrowly scoped implementation/test contribution can forward the relevant settings after its own compatibility review; do not claim that behavior here before it exists.
- Severity: High; blocking.
- Raised by another reviewer: No.
Issue 2: Describe Oracle NUMBER scale normalization accurately
- Location:
docs/en/connectors/source/Oracle.md:55-56 - Problem description: The new NUMBER(scale != 0)->DECIMAL(precision,scale) rule is false for valid large or negative Oracle scales. OracleTypeConverter.java:142-178 caps a positive scale above DEFAULT_SCALE=18, normalizes absent/oversized precision to 38 and handles scale<=0 with precision-scale and possible integer narrowing. For example NUMBER(30,20) becomes DECIMAL(30,18), not DECIMAL(30,20). The same unqualified rule appears in both source and sink language pages.
- Potential risk: Readers may assume fractional precision survives unchanged and choose an incompatible target schema or skip conversion checks.
- Best improvement / root-cause and location assessment: State the positive-scale cap and the nonpositive-scale normalization/narrowing conditions, with a short concrete example; distinguish source discovery from sink reconvert/automatic-DDL policy. Apply matching text to en/zh source and sink pages. No converter behavior change is needed in this documentation PR.
- Severity: Medium; blocking.
- Raised by another reviewer: No.
Issue 3: Include QIANFAN in the API-key condition
- Location:
docs/en/transforms/llm.md:22 - Problem description: The new conditional requirement lists OPENAI, DOUBAO and MICROSOFT but leaves out QIANFAN. LLMTransformFactory.optionRule also requires API_KEY together with SECRET_KEY and OAUTH_PATH when MODEL_PROVIDER is QIANFAN.
- Potential risk: A user following the revised option table can omit a mandatory credential and fail transform validation.
- Best improvement / root-cause and location assessment: Add QIANFAN to the API-key requirement and mention its additional secret_key/oauth_path bundle, in both languages; keep CUSTOM distinct. This is a table correction, not a request to alter provider authentication.
- Severity: Medium; blocking.
- Raised by another reviewer: No.
2. Code Quality Assessment
2.1 Coding Standards
The complete changed-file set, imports and removed lines were inspected. Markdown-only edits are generally focused and mirrored. There are no new core methods/fields requiring Java comments. The changed tables must still be checked in their actual source-versus-sink direction; they should not be treated as automatic-DDL promises without reading reconvert.
2.2 Test Coverage and Test Stability
No UT/E2E files change, so a test-stability rating is not applicable. This review used complete diff reads and source/call-chain checks; no docs build, connector execution, credentialed provider request or local tests were run. A rendered docs check can find links/formatting but cannot validate the runtime claims in Issues 1-3.
Local verification results: exact-head git fetch and isolated review branch seatunnel-review-13050 created; full git diff f7a575432fba5c35d36659c16e1590e83ad1f296...4d843544567770460150e676085f66599df0b7b2 read (49 files); git diff --check passed; git show, rg and line-numbered source/caller/config/test reads used for the trace above. GitHub changed filenames are reconciled with this local diff before publication. No local compile, Maven verify, unit/IT/E2E, Docker, service or UI execution occurred, as required for this review task. No build/deployment artifact was reused; engine-ui was not built.
2.3 Documentation Updates
All English/Chinese changed hunks were compared, including the zh-only Doris/StarRocks placeholder corrections and en Redis example wording. The three issues affect both language descriptions and should be fixed together. Existing sibling type-table naming/array mapping drift can remain a separate audit rather than changing production code here. There is partial documentation overlap with earlier #12679; coordinate shared JDBC rows and retain that contributor's review opportunity rather than closing an earlier PR merely because this later audit is broader.
3. Architectural Soundness
3.1 Elegance of the Solution
Precise fix.
3.2 Maintainability
Best change-location assessment: Source-backed connector/transform guides are the correct place for these corrections. The smallest safe revision restores unsupported Linear limitations and qualifies Oracle/provider rules; implementing new runtime capabilities to match this draft would exceed scope.
3.3 Extensibility
Keep existing connector identities and contracts. Reuse the current boundary and regression fixtures; no shared-framework redesign or unrelated dependency is needed for the behavior reviewed here.
3.4 Historical-Version Compatibility
No production API, option/default, protocol, serialization or checkpoint state changes. These edits describe existing behavior and require no migration entry. Documentation that invites unsupported configurations is still a merge blocker even without Java changes. This review does not claim an executed upgrade/recovery validation.
4. Issue Summary
| Number | Issue | Location | Severity |
|---|---|---|---|
| 1 | Retain the Linear pagination and binary limitations | docs/en/connectors/source/Http-Linear.md:30,57 |
High, blocking |
| 2 | Describe Oracle NUMBER scale normalization accurately | docs/en/connectors/source/Oracle.md:55-56 |
Medium, blocking |
| 3 | Include QIANFAN in the API-key condition | docs/en/transforms/llm.md:22 |
Medium, blocking |
Completeness check: full diff and affected entry/call chain, failure/resource paths, compatibility, tests and stability, bilingual docs, configuration/registration and current CI/merge gates were inspected before enumerating these findings. No additional finding is reserved for a later round on this version.
Community review reconciliation: No existing review, inline comment or ordinary discussion comment was present in the collected current PR history. These are the complete findings from this first full review; no point is reserved for a later round on the unchanged head.
5. Merge Recommendation
Conclusion: Ready to merge after fixes
- Blockers — must be fixed: Issue 1: Retain the Linear pagination and binary limitations; Issue 2: Describe Oracle NUMBER scale normalization accurately; Issue 3: Include QIANFAN in the API-key condition; Required current-head CI and effective maintainer review/merge gates must be satisfied.
- Recommended fixes — non-blocking: No additional unrelated redesign is requested.
Overall assessment: Source-backed connector/transform guides are the correct place for these corrections. The smallest safe revision restores unsupported Linear limitations and qualifies Oracle/provider rules; implementing new runtime capabilities to match this draft would exceed scope. Current head 4d843544567770460150e676085f66599df0b7b2; base dev at f7a575432fba5c35d36659c16e1590e83ad1f296. Checks: Signal pull request update=SUCCESS; Build=SUCCESS. Check references: Signal pull request update Build. Compare: diverged, ahead 1, behind 12; merge state blocked / BLOCKED. Behind/diverged status alone is synchronization metadata and does not justify a sync-and-rerun instruction. Daniel has READ permission: this COMMENT is a technical conclusion, not an effective APPROVED event or dismissal of historical requested changes. A write-capable maintainer owns final approval/dismissal where required. Current check/merge facts are listed above. No executed test failure is attributed to this docs diff solely from the aggregate state. Behind metadata alone does not justify a sync comment; source documentation issues remain independently blocking. Thanks again; happy to help with the focused next revision.
Resolve JDBC source table conflicts (EN/ZH): keep the dev-side rows verified in apache#12865/apache#13089 (Oracle NUMBER scale>0/scale<0 split, TIMESTAMP_TZ(s)/DATETIMEOFFSET(s) scale, PostgreSQL _BYTEA removal) and 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.
DanielLeens
left a comment
There was a problem hiding this comment.
Thanks for keeping this documentation audit up to date, @zhangshenghang. I re-checked the current head 534bf7f5332591dd359e5e714999a99995462793. The only commit since my review of 4d84354456 is a merge of dev; it reduces the diff from 49 to 37 files (several pages are now identical to dev after other doc fixes were merged), but it does not touch the three points I raised. Two of them are still present as before, and the Oracle one has moved to the sink page only.
What Problem Does This PR Solve?
Connector and transform pages (type mappings, feature flags, required options, defaults, output examples) have drifted from the implementations. The PR corrects them in EN/ZH against current source. Most corrections remain accurate and useful (ClickHouse/MySQL/PostgreSQL type splits, Doris explicit format, Redis LPUSH order, exactly-once/stream flags, copy Map type, jsonpath column order).
1. Code Change Review
1.1 Status of the previous blockers on this head
Issue 1 - Linear pagination and binary claims (High, blocking) - still open.
- Location:
docs/en/connectors/source/Http-Linear.md:30,57;docs/zh/connectors/source/Http-Linear.md:30,57. - Problem: the pages still say the inherited
binaryformat,binary_chunk_sizeand thepageingblock "take effect" / "work the same way". The actual reader path is unchanged on this head:
// LinearSource.java:47-55
return new HttpSourceReader(
this.linearSourceParameter, readerContext, this.deserializationSchema,
jsonField, contentField);This five-argument overload passes pageInfo = null and binaryMode = false, so pagination and binary mode are never entered, regardless of configuration.
- Risk: users believe a multi-page Linear read completed while only one request was made.
- Best improvement: restore the previous limitation wording in both languages (the original lines were correct). Forwarding pagination/binary settings would be a separate code change with its own tests.
- Raised by another reviewer: no.
Issue 2 - Oracle NUMBER scale mapping (Medium, blocking) - fixed on the source page by dev, still open on the sink page.
- Location:
docs/en/connectors/sink/Oracle.md:58-59;docs/zh/connectors/sink/Oracle.md:57-58. - Problem: after the merge, the source page on
dev(docs/en/connectors/source/Oracle.md:55-58) already describes the real behavior ofOracleTypeConverter(DECIMAL(precision, min(scale, 18))for positive scale, normalization for negative scale,DECIMAL(38, 0)for precision >= 38). The sink page in this PR now saysNUMBER(scale != 0) -> DECIMAL(precision, scale), which is wrong for scale > 18 (OracleTypeConverter.java:169-176caps it atDEFAULT_SCALE = 18) and for negative scale. The two Oracle pages would now contradict each other. - Risk: readers expect fractional precision to survive unchanged, e.g.
NUMBER(30,20)actually becomesDECIMAL(30,18). - Best improvement: copy the four NUMBER rows from the current source page into the sink page in both languages so they stay consistent.
- Raised by another reviewer: no.
Issue 3 - LLM api_key condition omits QIANFAN (Medium, blocking) - still open.
- Location:
docs/en/transforms/llm.md:22;docs/zh/transforms/llm.md:20. - Problem:
LLMTransformFactory.optionRule(LLMTransformFactory.java:58-63) also requiresapi_keytogether withsecret_keyandoauth_pathwhenmodel_provider = QIANFAN; the table lists only OPENAI, DOUBAO and MICROSOFT. - Risk: a QIANFAN user following the table omits a mandatory option and fails validation.
- Best improvement: e.g. "conditional (required for OPENAI, DOUBAO, MICROSOFT, QIANFAN; QIANFAN also needs
secret_keyandoauth_path)", mirrored in ZH. - Raised by another reviewer: no.
1.2 Compatibility
Documentation only: no API, option, default, protocol or state change.
1.3 Side effects
None at runtime.
1.4 Error handling / logging
Not applicable; the remaining issues are user-facing accuracy problems listed above.
2. Code Quality
2.1 Standards
The remaining 37 files are focused and mirrored EN/ZH; I re-read every hunk after the merge and found no new inaccuracy or merge artifact beyond the three points above.
2.2 Tests
No test files changed; stability rating not applicable.
2.3 Docs
EN/ZH parity is kept, so each fix needs to be applied to both languages.
3. Architecture
The connector and transform guides are the right place for these corrections; no code change is needed for this PR.
4. Issue Summary
| ID | Issue | Location | Severity | Status |
|---|---|---|---|---|
| 1 | Linear pagination/binary described as effective | Http-Linear.md EN/ZH :30,:57 | High, blocking | Open |
| 2 | Oracle sink page NUMBER scale mapping inaccurate, contradicts source page | sink/Oracle.md EN:58-59 / ZH:57-58 | Medium, blocking | Source page fixed via dev; sink page open |
| 3 | api_key condition misses QIANFAN |
llm.md EN:22 / ZH:20 | Medium, blocking | Open |
5. Merge Recommendation
Ready to merge after fixes.
- Blockers (non-CI): Issues 1, 2 (sink page) and 3, each in EN and ZH. All three are small text edits.
- CI: green on this head (Build and Signal pull request update passed). The branch is 2 behind
devwith no conflict, which alone does not need a sync. - Final approval needs a committer review.
Thanks again for the careful audit; once these three spots are corrected the PR looks good to me.
… LLM QIANFAN api_key - Http-Linear.md (EN/ZH): the Linear reader uses the five-argument HttpSourceReader overload, so pagination and the binary format never take effect; restore the limitation wording instead of claiming the shared HTTP options apply. - sink/Oracle.md (EN/ZH): copy the four NUMBER rows verified on the source page (scale > 0 capped at 18, scale < 0 normalized, precision >= 38 as DECIMAL(38,0), defaults 38/18). - llm.md (EN/ZH): the api_key conditional also covers QIANFAN, which additionally requires secret_key and oauth_path.
|
All three blockers are addressed in f270aac:
|
DanielLeens
left a comment
There was a problem hiding this comment.
Thank you @zhangshenghang for the quick follow-up in f270aac469 and for the point-by-point reply. I re-checked the current head f270aac469aaa9d8b771cd831026f5dbc23f8be9 against the source and agree with your summary: all three blockers from my previous review are fixed in both EN and ZH. I also need to apologize for one thing. My earlier suggestion for Issue 3 was based only on LLMTransformFactory.optionRule and I did not check the runtime path, which actually rejects QIANFAN. The new wording is accurate for validation, so this is only a small, non-blocking follow-up (Issue 4 below), and it is my carryover, not something you missed. This is a static docs review; nothing was built or run.
What Problem Does This PR Solve?
Connector and transform pages (type mappings, feature flags, required options, defaults, output examples) had drifted from the implementations. The PR corrects them in EN/ZH against current source. The 37-file diff is unchanged apart from the six lines in this commit.
1. Code Change Review
1.1 Previous blockers at this head
Issue 1 - Linear pagination and binary claims: fixed.
docs/en/connectors/source/Http-Linear.md:30,57anddocs/zh/connectors/source/Http-Linear.md:30,57now say thatbinary/binary_chunk_sizeand thepageingblock are not applied in Linear mode.- This matches the code:
LinearSource.createReader(LinearSource.java:46-54) uses the five-argumentHttpSourceReaderconstructor, which delegates withpageInfo = null, binaryMode = false, binaryChunkSize = 0L(HttpSourceReader.java:86-100). No other line on either page still claims inherited pagination or binary support.
Issue 2 - Oracle sink NUMBER rows: fixed.
docs/en/connectors/sink/Oracle.md:56-61anddocs/zh/connectors/sink/Oracle.md:55-60are now identical to the NUMBER rows of the source page ondev(docs/en/connectors/source/Oracle.md:53-58,docs/zh/connectors/source/Oracle.md:53-58), so the two pages no longer contradict each other.- Checked against
OracleTypeConverterORACLE_NUMBERbranch: precision capped at 38,scale > 18capped atDEFAULT_SCALE = 18,scale <= 0normalized toprecision - scalewith optional narrowing, and a missing scale (127) ends at 18.
Issue 3 - LLM api_key condition: fixed (for validation).
docs/en/transforms/llm.md:22anddocs/zh/transforms/llm.md:20now list QIANFAN withsecret_keyandoauth_path, matching the secondconditional(...)inLLMTransformFactory.optionRule(LLMTransformFactory.java:58-63).
1.2 Compatibility
Documentation only: no API, option, default, protocol or state change.
1.3 Side effects
None at runtime.
1.4 Issues
Issue 4 - QIANFAN passes validation but is not supported by the LLM transform (Low, non-blocking; carryover of my own earlier suggestion).
- Location:
docs/en/transforms/llm.md:22,docs/zh/transforms/llm.md:20. - Problem:
LLMTransform.open()(LLMTransform.java:142-144) groupscase QIANFAN:withdefault:and throwsIllegalArgumentException("Unsupported model provider: ...").ModelProvider.QIANFANonly defines an embedding endpoint (ModelProvider.java:29). Themodel_providerlist on the same page (EN:32, ZH:30) correctly leaves QIANFAN out, so a reader is unlikely to choose it, but theapi_keyrow now names it. - Risk: very small. Someone could configure QIANFAN, satisfy all three options, and only fail when the job starts.
- Best improvement (optional, can be a follow-up): either drop QIANFAN from the
api_keyrow, or append "QIANFAN is accepted by option validation but not supported by the LLM transform". Mirror it in ZH. - Raised by another reviewer: no.
2. Code Quality
2.1 Standards
The new commit changes six lines in three EN/ZH page pairs. It is focused, and the tables still render with the existing column layout.
2.2 Tests
No test files changed, so a stability rating does not apply.
2.3 Docs
EN/ZH parity holds for all three fixes. The ZH wording matches the EN meaning in each case.
3. Architecture
Not applicable. The connector and transform guides are the right place for these corrections.
4. Issue Summary
| ID | Issue | Location | Severity | Status |
|---|---|---|---|---|
| 1 | Linear pagination/binary described as effective | Http-Linear.md EN/ZH :30,:57 | High | Fixed |
| 2 | Oracle sink NUMBER rows inaccurate / contradict source page | sink/Oracle.md EN:56-61, ZH:55-60 | Medium | Fixed |
| 3 | api_key condition misses QIANFAN |
llm.md EN:22 / ZH:20 | Medium | Fixed |
| 4 | QIANFAN named although the LLM transform rejects it at runtime | llm.md EN:22 / ZH:20 | Low, non-blocking | Open (optional) |
5. Merge Recommendation
Ready to merge.
- Blockers (non-CI): none.
- Non-blocking: Issue 4, optional.
- CI: green on this head. The fork
Buildrun and the Apache-sideBuildandSignal pull request updatechecks passed. GitHub reports no conflicts; the branch is 2 commits behinddev, which does not need a sync for a docs PR. - Final merge still needs a committer review.
Thanks again for this careful audit and for the quick turnaround.
Resolve JDBC dialect-list and option-table conflicts (EN/ZH): keep the dev-side dialect ordering with CockroachDB verified in apache#12828 and the option-table wording verified in apache#13050.
davidzollo
left a comment
There was a problem hiding this comment.
+1
LGTM
Thanks for your contribution!
Please ignore the following message if you have joined in the Slack~
To facilitate focused communication among contributors, we’ve created a brand-new dedicated #contributors channel in official Slack workspace. Slack workspace link: https://s.apache.org/seatunnel-slack
Purpose of this PR
This PR acknowledges the contribution to Apache SeaTunnel and fixes a batch of real documentation inaccuracies found by comparing the English and Chinese connector/transform docs against the actual source code on the current
devbranch.Documentation issues found and fixed
Option tables vs. code (names, types, defaults, required flags):
PostgreSQLsource:driverdescription told users to set the MySQL driver class (com.mysql.cj.jdbc.Driver) on the PostgreSQL page; corrected toorg.postgresql.Driver.querywas marked required, but code only requiresurl+driver(JdbcSourceFactory), so it is now conditional like sibling dialect pages.DB2source:querywas marked required although code requires onlyurl+driver.Mysql,Oracle,SqlServer,PostgreSQLsources):partition_lower_bound/partition_upper_boundwere typedBigDecimalorLong, butJdbcSourceOptionsdeclares them asstringType();partition_numdefault was documented as "job parallelism" whileJdbcSourceTableConfig.DEFAULT_PARTITION_NUMBERis10.LLMtransform:api_keywas marked unconditionally required, butLLMTransformFactorydeclares it conditionally required (OPENAI/DOUBAO/MICROSOFT) and unused forCUSTOM.Copytransform:fieldswas typedObject;CopyTransformConfigdeclares amapType()(Map).Httpsink:multi_table_sink_replicadefault-, butSinkConnectorCommonOptionsdefaults it to1.Data-type mapping tables vs. converters:
Clickhousesource:Int8 / UInt8 / Int16 / UInt16 / Int32 → INTsplit intoInt8 → TINYINT,UInt8 / Int16 → SMALLINT,UInt16 / Int32 → INTperTypeConvertUtil;DateTime → TIMEcorrected toTIMESTAMP.Clickhousesink:INT → Int8/UInt8/Int16/UInt16/Int32corrected toINT → Int32and addedTINYINT → Int8,SMALLINT → Int16perClickhouseTypeConverter;TIME → DateTimecorrected toTIME → String, added missingTIMESTAMP → DateTime64row.StarRockssink:DATE/DATETIME/ARRAY/MAP → STRINGcorrected toDATE → DATE,DATETIME → TIMESTAMP,ARRAY → ARRAY,MAP → MAPperStarRocksTypeConverter.Mysqlsource/sink:TIMESTAMP → TIMESTAMP(s)corrected toTIMESTAMP_TZ(UTC-stored,MySqlTypeConverter); sink table splitTINYINT/TINYINT UNSIGNED/SMALLINT/... → INTinto the correctTINYINT → TINYINT,TINYINT UNSIGNED/SMALLINT → SMALLINT, rest →INTrows; removed the contradictoryINT UNSIGNED → BOOLEANgrouping;GEOMETRYmoved from "Not supported yet" toBYTES.Oraclesource/sink:NUMBER(18 < p, s == 0) → DECIMAL(38, 0)andNUMBER(s != 0) → DECIMAL(38, 18)corrected to preservedDECIMAL(precision, 0)/DECIMAL(precision, scale)perOracleTypeConverter;TIMESTAMP WITH (LOCAL) TIME ZONE → TIMESTAMPcorrected toTIMESTAMP_TZ.SqlServersource:DATETIMEOFFSETmoved out of theTIMESTAMP(s)group toTIMESTAMP_TZ; sinkDECIMAL → DECIMAL((column size)+1, scale)corrected to preservedDECIMAL(precision, scale).PostgreSQLsource/sink: unsupported_BYTEA → ARRAY<TINYINT>row corrected (no_byteacase inPostgresTypeConverter); sinkINT2/SMALLSERIALseparated fromINT4/SERIAL(SMALLINTvsINT); sourceTIMESTAMPTZ(s) → TIMESTAMP(s)corrected toTIMESTAMP_TZ.DB2source:DECIMAL → DECIMAL(38,18)corrected to preservedDECIMAL(precision, scale).Feature checkboxes vs. reader/sink implementation:
TDenginesource: uncheckedexactly-once(splits carry no offsets, re-sent after restore) andcolumn projection(TDengineSourcedoes not implementSupportColumnProjection).TDenginesink: uncheckedexactly-once(simple sink writer, no two-phase commit).Milvussource: uncheckedexactly-once(in-progress partitions are re-scanned from the beginning, matching the doc's own Notes).InfluxDBsource: uncheckedexactly-once(splits are re-read from the start on restore).Phoenixsource: uncheckedstream(it wraps the bounded JDBC reader, whose own page marks stream as unsupported).Behavior descriptions and placeholders:
Http-Linearsource: corrected two claims —binaryformat andbinary_chunk_sizeARE inherited and effective fromHttpSource, and pagination IS supported through the HTTPpageingblock (both contradictedLinearSource extends HttpSource).Dorissink FAQ: "uses JSON format for Stream Load by default" corrected —doris.configis required andformatmust be set explicitly or startup fails (SeaTunnelRowSerializerFactoryNPEs).Doris/StarRockssink defaultsave_mode_create_templateexamples used the deprecated${table_name}placeholder while the code default and English docs use${table}; aligned to${table}.Redissink:LIST"append" corrected to "add to the head of the list (LPUSH)" perRedisSingleClient; matching example heading fixed in theRedissource page.JsonPathtransform: fixed the SeatunnelRow example table column order — extracted fields are appended after the original columns (MultipleFieldOutputTransform).Mysqlsink: fixed garbled duplicatedDECIMAL((DECIMAL((...cell text.Files updated
49 files (25 English + 24 Chinese) across
docs/en|zh/transforms(copy, jsonpath, llm) anddocs/en|zh/connectors(source/sink of Clickhouse, Doris, StarRocks, Mysql, Oracle, SqlServer, DB2, PostgreSQL/PostgreSql, Phoenix, Redis, TDengine, Milvus, InfluxDB, Http, Http-Linear). Full list in the commit.Both English and Chinese docs checked
Yes. Every fix was applied to the English doc and its Chinese counterpart where the same wrong content exists. The Chinese-only deviations (
${table_name}templates, garbled DECIMAL cell) were fixed so zh matches en and the code.Duplicate PR check
Checked all PRs created in the last 7 days (
gh pr list --search "created:>=2026-10-21"): the recent docs PRs #13019, #12993, #12986, #12971 (open) and #12951, #12941 (merged) were reviewed and their changed-file lists (retrieved via the API) were excluded from this batch. This PR does not touch any file or issue covered by those PRs (different connectors, different transforms, and different problems). #12981 (FieldMapper, another contributor) was also avoided.Verification
apache/seatunnel-websiterepo and runs a full npm install/build); the changes are table/text-only with no structural markdown changes, so the above checks cover the risk.