Skip to content

[spark] Add union read for lake-enabled log tables#2956

Open
fresh-borzoni wants to merge 2 commits intoapache:mainfrom
fresh-borzoni:spark-union-read
Open

[spark] Add union read for lake-enabled log tables#2956
fresh-borzoni wants to merge 2 commits intoapache:mainfrom
fresh-borzoni:spark-union-read

Conversation

@fresh-borzoni
Copy link
Copy Markdown
Contributor

Summary

Adds batch read for lake-enabled log tables. When a table has datalake enabled, reads combine lake storage (Paimon/Iceberg) with Fluss log tail. Lake and log are planned as separate Spark partition, lake tasks read from lake storage without Fluss connections, log tail tasks reuse the existing reader. Falls back to pure log reads when no snapshot exists. Only enabled in FULL startup mode.

Tests cover both Paimon and Iceberg.

Follow-up PRs

  • PK table lake reads (sort-merge with lake snapshot)
  • Streaming with lake bootstrap
  • Filter/partition/limit push-down to lake source
  • DV support for Paimon

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.

1 participant