Skip to content

[flink] Skip LogSplit for empty buckets in lake union read#2958

Merged
luoyuxia merged 1 commit intoapache:mainfrom
fresh-borzoni:fix-empty-bucket-log-split
Mar 30, 2026
Merged

[flink] Skip LogSplit for empty buckets in lake union read#2958
luoyuxia merged 1 commit intoapache:mainfrom
fresh-borzoni:fix-empty-bucket-log-split

Conversation

@fresh-borzoni
Copy link
Copy Markdown
Contributor

closes #2957

Skip creating LogSplit for empty buckets where no data was committed to either lake or log (stoppingOffset is 0).

The reader would otherwise block for the full poll timeout per empty bucket and return nothing. Matches the existing guard in the non-null snapshot offset branch.

Copy link
Copy Markdown
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

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

+1

@luoyuxia luoyuxia merged commit 47b3818 into apache:main Mar 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flink] Skip LogSplit for empty buckets in lake union read

2 participants