Repository navigation
[Docs] Fix connector feature claims and align diverged en/zh tables with source code - #13121
Conversation
DanielLeens
left a comment
There was a problem hiding this comment.
Thanks a lot @zhangshenghang for this careful cross-check pass. I re-verified every changed claim against the connector source on the PR base (941276923f), and they all hold up.
What Problem Does This PR Solve?
Several connector pages had feature-matrix claims that do not match the code (column projection), the en/zh option tables of OssJindoFile / Hudi / Hive had drifted in structure, and a set of examples still used the deprecated Flink-only env key execution.parallelism. This PR fixes those three groups, always in en/zh pairs.
1 Code Change Review
1.1 Core logic (documentation claims vs source)
Column projection matrix:
Airtable,Jira,OneSignal,Shopify->[ ]: correct.AirtableSource/JiraSource/OneSignalSource/ShopifySourceall extendHttpSource(connector-http-base/.../http/source/HttpSource.java:56), which extendsAbstractSingleSplitSource(connector-common/.../common/source/AbstractSingleSplitSource.java:28-29) and implements onlySeaTunnelSource. Nothing inconnector-httpimplementsSupportColumnProjection. I also checked the other HTTP-family source pages (Http, Notion, Github, Gitlab, Klaviyo, Lemlist, ...) and none of them still claims[x], so the fix is complete for this family.Kudu->[ ]: correct.KuduSourceimplementsSeaTunnelSourceandSupportParallelismonly (connector-kudu/.../kudu/source/KuduSource.java:37-39).OssJindoFile->[x]: correct. The JindoOssFileSource extends BaseFileSource(connector-file-jindo-oss/.../oss/jindo/source/OssFileSource.java:26), andBaseFileSourceimplementsSupportColumnProjection(connector-file-base/.../file/source/BaseFileSource.java:52);read_columnsis also in the factoryoptionRule().
Option tables:
docs/en/connectors/source/OssJindoFile.md: the newdescriptioncolumn matches the zh page row by row (37 rows, same order), and every key is present inOssFileSourceFactory#optionRule().docs/zh/connectors/sink/Hudi.md: the new descriptions are faithful translations of the en table, and the defaults matchHudiSinkOptions(database=default,COPY_ON_WRITE,INSERT,batch_interval_ms=1000,batch_size=1000, shuffle parallelism2/2, commits20/30,BLOOM,record_byte_size=1024,cdc_enabled=false;HudiSinkOptions.java:56-161).docs/zh/connectors/sink/Hive.md: the 18 descriptions mirror the en table one to one.
Env key: execution.parallelism is read only by the Flink starter as a deprecated alias (seatunnel-flink-starter-common/.../flink/utils/ConfigKeyName.java:28, AbstractFlinkRuntimeEnvironment.java:195-198, with a deprecation warning), while the common key is parallelism (seatunnel-api/.../api/options/EnvCommonOptions.java:29-32). Replacing it is correct, and none of the 26 touched pages still contains execution.parallelism on the head.
1.2 Compatibility
Docs only. No option, default, API, or runtime behavior changes.
1.3 Side effects
None. ${...} placeholders in the zh Hive table are inside inline code, so MDX rendering is safe; the fork Build website / Dead links jobs passed.
1.4 Error handling / logging
Not applicable.
2 Quality
2.1 Standards
Markdown tables have consistent column counts; en/zh pages are changed in pairs.
2.2 Tests and stability
No tests needed for a docs-only change. Stability: Stable.
2.3 Docs
en/zh parity verified for every touched page (feature matrix, option rows, examples).
3 Architecture
No architectural impact.
4 Issue table
| # | Location | Problem | Severity |
|---|---|---|---|
| 1 | PR description (bottom) | The description ends with a stray shell trailer (__zcode_status=$? ... exit) that includes a local temp path. It looks like a copy/paste artifact from a tool. Please remove it from the PR description. |
Nit, non-blocking |
| 2 | Other docs pages | About 26 other en/zh pages still use execution.parallelism in env {} examples; you intentionally left pages touched by other open PRs. A follow-up once those PRs land would finish the cleanup. |
Suggestion, non-blocking |
5 Merge recommendation
Ready to merge. No blockers; CI is green. The two items above are optional cleanups. Thanks again for the solid source-backed verification.
Yes, I am contributing to Apache SeaTunnel.
What documentation issues were found
While cross-checking connector documentation against the Java source code and comparing English (
docs/en) with Chinese (docs/zh) pages, I found three groups of real, verifiable issues:SupportColumnProjection(org.apache.seatunnel.api.source.SupportColumnProjection):source/Airtable.md,source/Jira.md,source/OneSignal.md,source/Shopify.md(all extend the HTTP base source, which does not implement the interface)source/Kudu.md(KuduSourcedoes not implement the interface)source/OssJindoFile.mdunchecked column projection, although the sharedBaseFileSourceimplementsSupportColumnProjectionand every other file source doc (LocalFile, HdfsFile, OssFile, ObsFile, BosFile, CosFile, GcsFile, S3File, SftpFile, SmbFile, FtpFile) marks it as supported.docs/en/connectors/source/OssJindoFile.md: the options table had only 4 columns (nodescriptioncolumn), while the Chinese page has full 5-column tables — added the Englishdescriptioncolumn (37 options).docs/zh/connectors/sink/Hudi.md: both tables (base configuration + table list) lacked the描述column — added it (24 options).docs/zh/connectors/sink/Hive.md: the options table lacked the描述column — added it (18 options).execution.parallelisminenv {}blocks. This key is a deprecated Flink-only alias (ConfigKeyName.PARALLELISM, logs a deprecation warning) and is silently ignored by the Zeta engine, which only readsparallelism(EnvCommonOptions.PARALLELISM). Replaced it withparallelismin pages not touched by other open PRs:OceanBase-CDC,Opengauss-CDC,PostgreSQL-CDC,Kafka(source),Intercom,Asana,transforms/metadata(en + zh).What was changed
[x]↔[ ]) for column projection, verified againstSupportColumnProjectionimplementations in the code.FileBaseSourceOptions,HudiSinkOptions, Hive sink options). Hudi option defaults (batch_size=1000,batch_interval_ms=1000,insert/upsert_shuffle_parallelism=2,min/max_commits_to_keep=20/30,index_type=BLOOM,record_byte_size=1024,cdc_enabled=false) were re-verified againstHudiSinkOptionsbefore translating.execution.parallelismwithparallelisminsideenv {}example blocks.Areas/files updated (28 files, en + zh always in pairs)
docs/{en,zh}/connectors/source/: Airtable, Jira, OneSignal, Shopify, Kudu, OssJindoFile (feature claims; OssJindoFile en also got the description column)docs/{en,zh}/connectors/source/: OceanBase-CDC, Opengauss-CDC, PostgreSQL-CDC, Kafka, Intercom, Asana (env key fix)docs/{en,zh}/transforms/metadata.md(env key fix)docs/zh/connectors/sink/Hudi.md,docs/zh/connectors/sink/Hive.md(描述 column added)Both languages checked
Yes — every fix was applied to both the English and Chinese page. The en/zh option-table row counts now match for the fixed pages, and all
plugin_nameexamples, option tables, and feature claims of both locales were checked.Duplicate PR check (last 7 days)
Checked all PRs created since 2026-10-27 (
gh pr list --state all), including today's #13117, #13118, #13119, #13113 and the open docs PRs #13050, #13072, #13097:None of the open/merged PRs in the last week touches the feature-matrix claims, the OssJindoFile/Hudi/Hive tables, or the
execution.parallelismexamples listed above.Verification
docs/tree):rest-api-v1.mdare left untouched because PR [Docs] Fix connector, format and Zeta engine doc inaccuracies verified against source code #13097 already covers that file).documentjob) was not run locally because it requires checking out the separateapache/seatunnel-websiterepository and installing its npm dependencies; the changes are markdown-only with consistent tables, inline code spans around all${...}placeholders, and valid relative links/anchors, so the MDX render risk is minimal.__zcode_status=$?
if [ "$__zcode_status" -eq 0 ]; then pwd -P > '/var/folders/67/72cc9wwd6cl2fzm7rg17xxrh0000gn/T/zcode-631e7b6b-7da2-4e8d-9861-f04b0cb47626-cwd'; fi
exit "$__zcode_status"