Skip to content

feat: Support TIMELINE_SERVER_BASED markers for flink writer#14202

Merged
yihua merged 3 commits into
apache:masterfrom
cshuo:fix_flink_timeline_based_marker
Nov 8, 2025
Merged

feat: Support TIMELINE_SERVER_BASED markers for flink writer#14202
yihua merged 3 commits into
apache:masterfrom
cshuo:fix_flink_timeline_based_marker

Conversation

@cshuo

@cshuo cshuo commented Nov 4, 2025

Copy link
Copy Markdown
Collaborator

Describe the issue this Pull Request addresses

Fix #14201

Currently flink writer do not support TIMELINE_SERVER_BASED mark type, we should support it to optimize the marker-related latency for fs with non-trivial I/O latency, such as S3.

Summary and Changelog

Support TIMELINE_SERVER_BASED markers for flink writer

Impact

Optimize the marker-related latency for fs with non-trivial I/O latency, such as S3.

Risk Level

low

Documentation Update

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

@github-actions github-actions Bot added the size:S PR with lines of changes in (10, 100] label Nov 4, 2025
@cshuo cshuo force-pushed the fix_flink_timeline_based_marker branch from 4ebf77f to 4b63a0c Compare November 4, 2025 07:24
@github-actions github-actions Bot added size:M PR with lines of changes in (100, 300] and removed size:S PR with lines of changes in (10, 100] labels Nov 4, 2025
@cshuo cshuo force-pushed the fix_flink_timeline_based_marker branch 2 times, most recently from 8b13e6d to cd2df14 Compare November 5, 2025 02:15
@github-actions github-actions Bot added size:S PR with lines of changes in (10, 100] and removed size:M PR with lines of changes in (100, 300] labels Nov 5, 2025
@cshuo cshuo force-pushed the fix_flink_timeline_based_marker branch from cd2df14 to d7e5c4c Compare November 7, 2025 01:02
@danny0405

Copy link
Copy Markdown
Contributor

The failure is irelevent:

TestFiltersInFileGroupReader.testFiltersInFileFormat


@ParameterizedTest
@EnumSource(MarkerType.class)
public void testMarkType(MarkerType markerType) throws Exception {

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.

can you also add a test in TestFlinkWriteClients to ensure that the default marker type for Flink is still DIRECT.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ok

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

@github-actions github-actions Bot added size:M PR with lines of changes in (100, 300] and removed size:S PR with lines of changes in (10, 100] labels Nov 7, 2025
@yihua yihua force-pushed the fix_flink_timeline_based_marker branch from 673ff88 to f74f0f3 Compare November 7, 2025 23:42
@hudi-bot

hudi-bot commented Nov 8, 2025

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands@hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@yihua yihua merged commit f5f0ef6 into apache:master Nov 8, 2025
70 checks passed
nsivabalan pushed a commit to nsivabalan/hudi that referenced this pull request Dec 12, 2025
nsivabalan pushed a commit that referenced this pull request Dec 12, 2025
linliu-code pushed a commit to linliu-code/hudi that referenced this pull request Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M PR with lines of changes in (100, 300]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support TIMELINE_SERVER_BASED markers for flink writer

4 participants