Skip to content

[Docs][Transform-V2] Improve Filter transform documentation - #12816

Merged
davidzollo merged 8 commits into
apache:devfrom
rdlau01:docs/transform-filter
Oct 18, 2026
Merged

davidzollo merged 8 commits into
apache:devfrom
rdlau01:docs/transform-filter

Conversation

@rdlau01

@rdlau01 rdlau01 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Purpose of this pull request

Part of #12809

Rewrites docs/en/transforms/filter.md and docs/zh/transforms/filter.md to follow the transform plugin documentation template: engines, description, key features, a five-column options table including table_transform, table_match_regex and rule_match_mode, one section per option, a multi-table section, and examples for transform-level only, transform-level plus per-table, and per-table only.

Compared against:

  • FilterFieldTransformConfig
  • FilterFieldTransformFactory#optionRule()
  • FilterFieldTransform
  • TransformCommonOptions (table_transform, table_match_regex, rule_match_mode)

Questions for reviewers:

  • The zh version was directly translated from the en version with Claude, please check wording.
  • The changelog section was kept as it was.

Does this PR introduce any user-facing change?

Yes, documentation only. The Filter documents previously had a placeholder options table without types, defaults or the multi-table options, and only a single example. They now document all options as defined in the code. There is no code or behavior change.

How was this patch tested?

This is a documentation-only change, so no unit tests were added. Option names, types and defaults were checked against the source files listed above. The HOCON examples have not been run end to end.

Check list

@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.

Hi @rdlau01, welcome to Apache SeaTunnel, and thank you for taking on this piece of the transform docs umbrella (#12809)! Rewriting the Filter page to follow the plugin template is really useful. I went through the full diff of both docs/en/transforms/filter.md and docs/zh/transforms/filter.md and checked every claim against the code (FilterFieldTransform, FilterFieldTransformConfig, FilterFieldTransformFactory, FilterFieldMultiCatalogTransform, AbstractMultiCatalogTransform, TransformCommonOptions, FactoryUtil). Almost everything lines up nicely; there is one thing that needs to be fixed before merge, details below.

What Problem Does This PR Solve?

  • User pain point: the old Filter page only had a bare options table (no types, no defaults, no multi-table options) and a single example, so users could not discover table_match_regex / table_transform / rule_match_mode.
  • Fix approach: rewrite the page (en + zh) in the transform-doc template: engines, description, key features, 5-column options table, one section per option, a multi-table section and examples.
  • One-sentence summary: documentation-only change that makes the Filter page match what the code really accepts.

1. Code Change Review

1.1 Core Logic Analysis

Only two Markdown files change (no code). I verified the content against the real execution path:

Job start
  -> FactoryUtil.createAndPrepareMultiTableTransform(...)            // FactoryUtil.java:~461
      -> ConfigValidator.validate(FilterFieldTransformFactory.optionRule())
           -> exclusive(include_fields, exclude_fields)               // exactly ONE required on the TOP-LEVEL config
      -> new FilterFieldMultiCatalogTransform(...)
          -> AbstractMultiCatalogTransform ctor
               per table: table_transform entry (exact table_path) > table_match_regex.matches() > IdentityMapTransform
               entry configs are NOT validated by optionRule

Verified as correct in the PR: option names/types/defaults (.*, no default for include/exclude), the fields fallback key for include_fields, output order following include_fields, remaining order for exclude_fields, "cannot find input fields" failure, non-empty list requirement, PK/constraint keys kept only if all their columns survive, precedence table_transform > table_match_regex, unmatched tables passed through unchanged, FIRST_MATCH / ALL_MATCH semantics, and the result tables for multi-table examples 1 and 2. The single-table example is also fine.

Key findings:

  • The page is accurate on the main path, with one wrong claim and one misleading default (below).
  • Normal path: the multi-table statements are the ones that reach AbstractMultiCatalogTransform; that is where the inaccuracy sits.

1.2 Compatibility Impact

Fully compatible. Docs only; no API, option, default, protocol or serialization change.

1.3 Performance / Side-Effect Analysis

None (docs only).

1.4 Error Handling and Logging

N/A for code. The docs correctly describe the "cannot find input fields" failure.

Issue 1: "Per-table rules only" example and bullet describe a configuration that fails validation

  • Location: docs/en/transforms/filter.md:85, docs/en/transforms/filter.md:272-298 (and the Options/caution at :26-27, :35); same lines in docs/zh/transforms/filter.md
  • Problem description: The page says "If only table_transform is configured, the tables without an entry stay unchanged" and example 3 shows a Filter block with only table_transform and no top-level include_fields/exclude_fields. But before the transform is built, FactoryUtil.createAndPrepareMultiTableTransform validates the top-level config against FilterFieldTransformFactory#optionRule(), which declares exclusive(INCLUDE_FIELDS, EXCLUDE_FIELDS). ConfigValidator#checkExclusive returns "exactly one option must be set, but none are configured" when neither is present, and the existing FilterFieldTransformFactoryTest#testNeitherFieldsFails locks this behavior in. So example 3 fails at job start instead of leaving test.abcd / test.www untouched. (The existing e2e filter_transform_multi_table.conf also always keeps a top-level rule next to table_transform.) Note the :::caution block is also a little off: the exclusive check is only enforced on the top-level config, while per-table entries in table_transform are not validated by optionRule (an entry with neither option would only fail later at runtime).
  • Potential risk: users will copy example 3 and hit a validation error; the docs would then contradict the code, which is exactly what this rewrite is trying to fix.
  • Best improvement: Option A (recommended, docs-only): remove example 3, its result table and the If only table_transform is configured... bullet, and state clearly that a top-level include_fields or exclude_fields is always required, with table_match_regex deciding which tables it applies to and table_transform entries overriding it for specific tables. Option B: keep the "only some tables change" idea by using a top-level rule plus a table_match_regex that matches only the tables you want, and show that in the example. Please apply the same change to the zh page.
  • Severity: High (blocks merge: the published example does not run)
  • Raised by another reviewer: No

Issue 2: rule_match_mode default is described as FIRST_MATCH, but the unset behavior is different

  • Location: docs/en/transforms/filter.md:30, :73; docs/zh/transforms/filter.md:30, :73
  • Problem description: The option's declared default is FIRST_MATCH, but AbstractMultiCatalogTransform checks whether rule_match_mode was explicitly configured; if it was not, duplicate table_path entries are rejected (rejectDuplicateTablePaths, "Duplicate table_transform rules are configured..."). The shared page transform-multi-table.md therefore lists the default as -.
  • Potential risk: a reader who relies on "default FIRST_MATCH" and writes two entries for the same table_path gets an error.
  • Best improvement: say that duplicate table_path entries are rejected unless rule_match_mode is set explicitly, and align the default column with transform-multi-table.md. Also, the rule_match_mode row in the en table has its default cell wider than the column (cosmetic).
  • Severity: Low (non-blocking, recommended)
  • Raised by another reviewer: No

2. Code Quality Assessment

2.1 Coding Standards

Docs follow the template structure well, and the en/zh pages are consistent line by line. No code in the PR.

2.2 Test Coverage and Test Stability

Docs only, no tests changed, so no stability rating applies. (The HOCON examples have not been run, as the description says; examples 1-2 and the multi-table job reason out correctly against the code, which is why Issue 1 stood out.)

2.3 Documentation Updates

docs/en and docs/zh are both updated and consistent. The zh wording reads naturally to me. Both need the Issue 1 / Issue 2 fixes.

3. Architectural Soundness

3.1 Elegance of the Solution

Precise fix (documentation).

3.2 Maintainability

Clear structure; per-option sections make future edits easy.

3.3 Extensibility

Good reusable pattern for the rest of the umbrella (#12809).

3.4 Historical-Version Compatibility

Fully compatible; no upgrade action needed.

4. Issue Summary

# Issue Location Severity
1 Per-table-only example/bullet fails top-level validation docs/en/transforms/filter.md:85,272-298 (+ zh) High
2 rule_match_mode default misleading when unset docs/en/transforms/filter.md:30,73 (+ zh) Low

CI: the Build check on this head shows action_required (the workflow is waiting for a maintainer to approve a first-time contributor's run); it is not a failure. The branch is 1 commit ahead and 0 behind dev, with no conflicts.

5. Merge Recommendation

Conclusion: Ready to merge after fixes

  1. Blockers - must be fixed
    • Issue 1: remove or correct the "per-table rules only" example and the matching bullet (en + zh).
  2. Recommended fixes - non-blocking
    • Issue 2: clarify the rule_match_mode default; it does not block merge because it only affects the corner case of duplicate table_path entries.

Overall assessment: a very solid first contribution, and the page is a big improvement over the old stub. Fix Issue 1 in both languages and I am happy to re-review right away. Thanks again, and please ping here if anything is unclear!

@rdlau01

rdlau01 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Hi @DanielLeens,

Fixes from my understanding:

  • Removed the per-table-only example and its bullet in both languages, since Filter’s optionRule requires one of include_fields/exclude_fields at the transform level
  • Clarified the rule_match_mode default.

Hope this fixes what you needed! Don't hesitate to ping me again if you need anything fixed or want me to rewrite more of the documentation.

@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.

Hi @rdlau01, thank you for the quick update, and for taking the earlier feedback so seriously! I re-reviewed the latest head (a034e6d) against the previous one, and I also read your summary comment.

What Problem Does This PR Solve?

  • User pain point: the old Filter page was a bare options table without types, defaults or the multi-table options (table_match_regex, table_transform, rule_match_mode).
  • Fix approach: rewrite the page (en + zh) in the transform-doc template.
  • One-sentence summary: documentation-only change that makes the Filter page match what the code accepts.

1. Code Change Review

1.1 Core Logic Analysis

The second commit removes the "per-table rules only" bullet and example 3 in both languages, which closes Issue 1 from my previous review: a top-level include_fields or exclude_fields is always required by FilterFieldTransformFactory#optionRule() (exclusive(include_fields, exclude_fields)), so the remaining examples (single table, transform-level rule only, transform-level rule plus table_transform) are all valid configurations. Thank you for that.

While diffing the two commits I found one new problem that the fix commit introduced, and one item from last time that is still open:

Issue 1: The multi-table example in the English page is not valid HOCON (opening brace lost)

  • Location: docs/en/transforms/filter.md:98-99
  • Problem description: in the "Multi-Table Configuration" job, the first entry of tables_configs starts directly with row.num = 2 and has no opening {:
    tables_configs = [
        row.num = 2
        schema = {
    
    The previous commit had [ followed by { on the next line (the zh page still has it at docs/zh/transforms/filter.md:98-99). It looks like the { line was removed together with the deleted example. Everything after it (}, { between entries) then no longer pairs up, so the config fails to parse.
  • Potential risk: this is the only complete runnable job on the page and it is the one the "Multiple tables" section points to, so users who copy it hit a parse error.
  • Best improvement: restore the line { right after tables_configs = [ in the en page so it matches the zh page.
  • Severity: High (blocks merge: the published example does not parse)
  • Raised by another reviewer: No

Issue 2 (carried over from my previous review, Low): rule_match_mode default

  • Location: docs/en/transforms/filter.md:30,73; docs/zh/transforms/filter.md:30,73
  • Problem description: the summary says the default wording was clarified, but the head still says the default is FIRST_MATCH ("The default is FIRST_MATCH. With the default, ..."). In AbstractMultiCatalogTransform, if rule_match_mode is not explicitly configured, duplicate table_path entries are rejected, and transform-multi-table.md lists the default as - (see the sentence "If rule_match_mode is not configured, duplicate exact table_path entries are rejected during config resolution").
  • Potential risk: a user who relies on "default FIRST_MATCH" and writes two entries for one table_path gets an error.
  • Best improvement: replace the paragraph at line 73 by something like "If rule_match_mode is not set, duplicate table_path entries are rejected; set it explicitly to FIRST_MATCH or ALL_MATCH.", and use - in the default column (also fixes the over-wide cell in the en table).
  • Severity: Low (non-blocking, recommended)
  • Raised by another reviewer: No

1.2 Compatibility Impact

Fully compatible. Docs only; no API, option, default, protocol or serialization change.

1.3 Performance / Side-Effect Analysis

None (docs only).

1.4 Error Handling and Logging

N/A for code.

2. Code Quality Assessment

2.1 Coding Standards

Template structure is followed; en and zh remain consistent apart from Issue 1. Minor housekeeping: docs/en/transforms/filter.md and the zh page now end without a trailing newline.

2.2 Test Coverage and Test Stability

Docs only, no tests changed, so no stability rating applies.

2.3 Documentation Updates

Both docs/en and docs/zh are updated. Issue 1 only affects en; Issue 2 affects both.

3. Architectural Soundness

3.1 Elegance of the Solution

Precise fix (documentation).

3.2 Maintainability

Clear per-option sections.

3.3 Extensibility

A good template for the rest of the umbrella (#12809).

3.4 Historical-Version Compatibility

Fully compatible; no upgrade action needed.

4. Issue Summary

# Issue Location Severity
1 Missing { makes the multi-table example invalid HOCON (en) docs/en/transforms/filter.md:98 High
2 rule_match_mode default still described as FIRST_MATCH docs/en/transforms/filter.md:30,73 (+ zh) Low

CI: the Build check on this head is action_required (the workflow is waiting for a maintainer to approve a first-time contributor's run); it is not a failure. The branch is 2 commits ahead and 0 behind dev, with no conflicts.

5. Merge Recommendation

Conclusion: Ready to merge after fixes

  1. Blockers - must be fixed
    • Issue 1: restore the opening { in the en example.
  2. Recommended fixes - non-blocking
    • Issue 2: align the rule_match_mode default wording with transform-multi-table.md.

Overall assessment: you are one line away; sorry the small slip came out of the cleanup, it is easy to do when deleting a block. Push the one-line fix and I will gladly re-check right away. Thanks again for the great work on this page!

Updated the default value for rule_match_mode to be empty and clarified its behavior when not set.
Updated the default value for rule_match_mode to be empty and clarified its behavior when not set.
@rdlau01

rdlau01 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Hey @DanielLeens, I just fixed the 2 issues. Don't hesitate to let me know if you need me to change anything else. Fair warning, I will not be able to fix anything until ~3pm PST.

@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.

Hi @rdlau01, thank you for pushing the follow-up so quickly, and sorry for the back-and-forth! I re-reviewed the latest head (849d342) against the head I looked at last time (a034e6d), and re-checked every claim in the Filter pages against the transform source.

What Problem Does This PR Solve?

  • User pain point: the old Filter page was a bare options table without types, defaults or the multi-table options (table_match_regex, table_transform, rule_match_mode), and had only one example.
  • Fix approach: rewrite the page (en + zh) in the transform-doc template: engines, description, key features, 5-column options table, one section per option, a multi-table section and examples.
  • One-sentence summary: documentation-only change that makes the Filter page match what the code really accepts.

1. Code Change Review

1.1 Core Logic Analysis

Only docs/en/transforms/filter.md and docs/zh/transforms/filter.md change (no code). Since my last review, the new commits (7710a4c and 849d342) modify the rule_match_mode wording and default. Status of my earlier findings at this head:

  • Previous Issue 1 (missing opening { after tables_configs = [ in the en multi-table job): fixed. docs/en/transforms/filter.md:98-99 now reads tables_configs = [ followed by {, identical in structure to the zh page, so the job parses.
  • Previous Issue 2 (rule_match_mode described with default FIRST_MATCH): fixed. Both pages now show the default as - and state that duplicate table_path entries are rejected unless rule_match_mode is set explicitly, which matches AbstractMultiCatalogTransform and transform-multi-table.md.
  • The earlier fix (removal of the "per-table rules only" example) is still in place; the remaining examples all keep a top-level include_fields / exclude_fields, as required by FilterFieldTransformFactory#optionRule() (exclusive(INCLUDE_FIELDS, EXCLUDE_FIELDS)).

Re-verified against dev source: include_fields / exclude_fields are list options with no default, include_fields has the fields fallback key (documented in the :::info block), both must be non-empty when set (Conditions.notEmpty), table_match_regex default .*, and table_transform / rule_match_mode come from TransformCommonOptions. The multi-table result table (abc/abcd -> name, card; xyz -> id, name, card; www unchanged) and the "transform level rule only" example reason out correctly. Linked pages (transform-multi-table.md, common-options/common-options.md, en and zh) exist on dev. Both files end with a trailing newline now.

Key findings: the page is accurate and the examples parse; only cosmetic points remain (below).

1.2 Compatibility Impact

Fully compatible. Docs only; no API, option, default, protocol or serialization change.

1.3 Performance / Side-Effect Analysis

None (docs only).

1.4 Error Handling and Logging

N/A for code. The docs correctly describe the "cannot find input fields" failure and the exclusive-option validation error.

Issue 1: Generic type text Array<String> / Array<Map> is likely swallowed as an HTML tag when rendered

  • Location: docs/en/transforms/filter.md:23-28 (options table) and the headings ### include_fields [Array<String>], ### exclude_fields [Array<String>], ### table_transform [Array<Map>]; same lines in docs/zh/transforms/filter.md
  • Problem description: the angle-bracket part is outside inline code, so GitHub-flavored Markdown and the docs site treat <String> / <Map> as unknown HTML tags and render only Array; the type information the PR is trying to add is partly lost (and strict MDX renderers may even complain).
  • Potential risk: purely cosmetic for readers; no functional impact.
  • Best improvement: write the types as array / list (the style used by most transform pages), or wrap them in backticks, e.g. `Array<String>`, and use plain [array] in the headings.
  • Severity: Low (non-blocking, recommended)
  • Raised by another reviewer: No

Issue 2: test.a* in the prose does not match the test.a.* regex in the example

  • Location: docs/en/transforms/filter.md (sentence before the multi-table job: "a transform level rule for test.a* tables"); docs/zh/transforms/filter.md (same sentence)
  • Problem description: the example uses table_match_regex = "test.a.*", while the prose says test.a*, which as a regex would mean test + a repeated, not "starts with a".
  • Potential risk: a reader copying the prose pattern gets different matching than the example.
  • Best improvement: write test.a.* in the prose.
  • Severity: Low (non-blocking, trivial)
  • Raised by another reviewer: No

2. Code Quality Assessment

2.1 Coding Standards

Template structure is followed, HOCON blocks are tagged hocon, and the en and zh pages are consistent line by line.

2.2 Test Coverage and Test Stability

Docs only, no tests changed, so no stability rating applies. The HOCON examples were not run (as the description says); I checked them by reading them against the option rule and the multi-catalog transform, and found no remaining problems.

2.3 Documentation Updates

docs/en and docs/zh are both updated and consistent. The zh wording reads naturally; the changelog line was fixed to a more natural phrase.

3. Architectural Soundness

3.1 Elegance of the Solution

Precise fix (documentation).

3.2 Maintainability

Clear per-option sections make future edits easy.

3.3 Extensibility

A good reusable template for the rest of the umbrella (#12809).

3.4 Historical-Version Compatibility

Fully compatible; no upgrade action needed.

4. Issue Summary

# Issue Location Severity
1 Array<String> / Array<Map> rendered as HTML tags, type text lost docs/en/transforms/filter.md:23-28 and option headings (+ zh) Low
2 Prose says test.a*, example regex is test.a.* docs/en/transforms/filter.md multi-table section (+ zh) Low

CI: the Build check on head 849d342 is action_required (the workflow awaits maintainer approval for a first-time contributor's run); it is not a failure. Notify test workflow and labeler succeeded. The branch is mergeable with no conflicts.

5. Merge Recommendation

Conclusion: Ready to merge

  1. Blockers - must be fixed
    • None. Both blockers/recommendations from my previous reviews are closed.
  2. Recommended fixes - non-blocking
    • Issue 1: avoid bare <...> generic types in Markdown.
    • Issue 2: use test.a.* in the prose.

Overall assessment: the page now matches the code on options, defaults, behavior and examples, and en/zh are in sync. Thanks for the quick and careful turnaround; the only open items are cosmetic and can be handled here or in a later cleanup. A maintainer still needs to approve the Build workflow run for this first-time contributor.

@rdlau01

rdlau01 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Hey @DanielLeens, I just fixed both non blocking issues. For the 2nd issue I used character escaping to fix the <...> generic typing. Don't hesitate to let me know if you need me to change anything else.

@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.

Hi @rdlau01, thank you for the quick follow-up, and for your comment: I confirmed both non-blocking items are addressed in the English page at the new head (c4c8b77). The prose now says test.a.* in both languages, and Array&lt;String&gt; / Array&lt;Map&gt; are escaped in the English options table and headings. One small leftover: the same escaping was not applied to the Chinese page (details in Issue 1 below).

What Problem Does This PR Solve?

  • User pain point: the old Filter page was a bare options table without types, defaults or the multi-table options (table_match_regex, table_transform, rule_match_mode), and had only one example.
  • Fix approach: rewrite the page (en + zh) in the transform-doc template: engines, description, key features, options table, one section per option, a multi-table section and examples.
  • One-sentence summary: documentation-only change that makes the Filter page match what the code really accepts.

1. Code Change Review

1.1 Core Logic Analysis

Only docs/en/transforms/filter.md and docs/zh/transforms/filter.md change (no code). The newest commit ("Escape generic types and fix regex in Filter docs") touches exactly these two files. Status of my earlier findings at this head:

  • Regex wording (previous Issue 2): fixed. docs/en/transforms/filter.md:87 and docs/zh/transforms/filter.md:87 now say test.a.*, matching table_match_regex = "test.a.*" at line 136.
  • Generic types (previous Issue 1): fixed in en (docs/en/transforms/filter.md:26,27,29,39,51,63 now use Array&lt;String&gt; / Array&lt;Map&gt;), but still raw in zh (see Issue 1).
  • Earlier fixes (opening { after tables_configs = [, rule_match_mode default - with the duplicate table_path rejection note, no per-table-only example) are still in place, and the examples still keep a top-level include_fields / exclude_fields as required by FilterFieldTransformFactory#optionRule().

1.2 Compatibility Impact

Fully compatible. Docs only; no API, option, default, protocol or serialization change.

1.3 Performance / Side-Effect Analysis

None (docs only).

1.4 Error Handling and Logging

N/A for code.

Issue 1: The Chinese page still has raw Array<String> / Array<Map>

  • Location: docs/zh/transforms/filter.md:26,27,29,39,51,63
  • Problem description: the escaping was applied only to the English page. In the Chinese page the angle brackets are still outside inline code, so they are treated as unknown HTML tags and only Array is rendered. Note that the original Chinese page had the same raw form, so this is a leftover from my earlier note (I wrote "same lines in zh") rather than something new.
  • Potential risk: cosmetic only (type text is partly lost in rendering); en and zh are now inconsistent.
  • Best improvement: apply the same Array&lt;String&gt; / Array&lt;Map&gt; escaping in the zh options table and the three headings, so both pages match.
  • Severity: Low (non-blocking)
  • Raised by another reviewer: No

2. Code Quality Assessment

2.1 Coding Standards

Template structure is followed, HOCON blocks are tagged hocon, and en/zh are consistent apart from Issue 1.

2.2 Test Coverage and Test Stability

Docs only, no tests changed, so no stability rating applies. The HOCON examples were checked by reading them against the option rule and the multi-catalog transform; no remaining problems.

2.3 Documentation Updates

docs/en and docs/zh are both updated; only Issue 1 is left.

3. Architectural Soundness

3.1 Elegance of the Solution

Precise fix (documentation).

3.2 Maintainability

Clear per-option sections make future edits easy.

3.3 Extensibility

A good reusable template for the rest of the umbrella (#12809).

3.4 Historical-Version Compatibility

Fully compatible; no upgrade action needed.

4. Issue Summary

# Issue Location Severity
1 zh page still has raw Array<String> / Array<Map> docs/zh/transforms/filter.md:26,27,29,39,51,63 Low

CI: the Build check on head c4c8b77 is action_required with "Unable to detect the workflow run for testing the changes in your PR", meaning no Build run exists in your fork for this commit. The branch is 5 commits ahead and 7 behind dev, with no conflicts (merge state blocked, waiting for CI and review).

5. Merge Recommendation

Conclusion: Ready to merge

  1. Blockers - must be fixed
    • None in the content. The only gate left is CI: please see the note below.
  2. Recommended fixes - non-blocking
    • Issue 1: escape the generic types in the zh page too.

Overall assessment: the page matches the code on options, defaults, behavior and examples, and the examples parse. Thanks again for the careful turnaround!


Good job.

Thanks a lot for your valuable contribution to Apache SeaTunnel!

To pass the automated CI checks for this PR, could you please enable CI workflows in your forked repository first? You can refer to the check run link below as a reference for the required CI configuration https://github.com/apache/seatunnel/runs/117214181049

If you run into any trouble enabling CI or encounter related errors during the process, feel free to leave a comment here. Contributors are always ready to offer help~

@rdlau01

rdlau01 commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

Hey @DanielLeens I ran the CI checks, is there anything else I need to do or that you need to review?

@nzw921rx

Copy link
Copy Markdown
Member

Hey @DanielLeens I ran the CI checks, is there anything else I need to do or that you need to review?

Thank you for your excellent work,
The latest transfor-v2 has been merged, please synchronize the latest code and modify the document?

@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.

Review Report

Scope

Re-reviewed head 7e1c2e85a24452ca189e030d5c16feb9c476f180 after the dev merge and the final Chinese generic-type follow-up. Apache Build is successful.

Verification

Checked both Filter pages for the remaining generic-type escaping and regex wording.

Findings

High

None.

Medium

None.

Low

None. The Chinese page now escapes Array&lt;String&gt; and Array&lt;Map&gt; consistently in tables and headings; both pages use the same test.a.* examples.

Required Fixes

None.

Suggested Tests

N/A; documentation-only change.

Runtime Before/After

No runtime change.

Backward Compatibility

No configuration or API change.

Risks

No merge-blocking risk found.

Review Status

Ready to merge.

Remaining Concerns

A write-access maintainer must give the final approval/merge.

@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.

Approved at current head 7e1c2e85a2.

This documentation-only change accurately clarifies Filter transform behavior without changing APIs, configuration, runtime code, or compatibility. English and Chinese content are aligned, and the required Build is green.

Approved for merge.

@davidzollo davidzollo 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.

+1
LGTM

Thanks for your contribution! This is a solid addition to the project, and your attention to detail really shows. Contributors like you are what keep this community moving forward. Feel free to keep the PRs coming — we're always glad to have you here!

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

This channel is designed for technical discussions, feature design brainstorming, roadmap sync and direct communication with project core Contributors. Everyone who contributes code, docs, test cases or community ideas is warmly invited to join, share thoughts and collaborate together under The Apache Way. Welcome to join 😄

@davidzollo
davidzollo added this pull request to the merge queue Oct 18, 2026

@davidzollo davidzollo 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.

Approving. The only leftover from my review (raw generic-type escapes on the zh page) is fixed in f8af406, the later commits are merges of dev, and the Build check is green on this exact head. Thanks @rdlau01 for the quick turnaround and for your first contribution! The PR is already in the merge queue.

Merged via the queue into apache:dev with commit e2957d2 Oct 18, 2026
3 checks passed
Asthenia0412 added a commit to Asthenia0412/seatunnel that referenced this pull request Oct 18, 2026
…2816)

Signed-off-by: Asthenia0412 <Asthenia0412@users.noreply.github.com>
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