[spark] Support reading and writing Fluss tables through Paimon catalog - #9551
Open
Zouxxyy wants to merge 6 commits into
Open
[spark] Support reading and writing Fluss tables through Paimon catalog#9551Zouxxyy wants to merge 6 commits into
Zouxxyy wants to merge 6 commits into
Conversation
Route Paimon tables marked with lakestream.enabled to the Fluss Spark catalog and cover log and primary-key table reads and writes on Spark 3.4 and 3.5. Co-Authored-By: Claude Code <noreply@anthropic.com> AI-Model: gpt-5 Co-Authored-By: Codex <noreply@openai.com> AI-Contributed/Feature: 329/329 AI-Contributed/UT: 471/471
Use the published Fluss Spark 2.12 connector test artifacts for all builds because Scala 2.13 snapshots are unavailable. Skip MiniCluster integration tests under Scala 2.13 while keeping catalog routing tests enabled. Co-Authored-By: Claude Code <noreply@anthropic.com> AI-Model: gpt-5 Co-Authored-By: Codex <noreply@openai.com> AI-Contributed/Feature: 5/5 AI-Contributed/UT: 57/57
Keep Java 11 Fluss test artifacts off the Spark 3 Java 8 Surefire classpath and avoid initializing the MiniCluster below Java 11. Verify the optional connector behavior and run the Fluss read/write suites in the existing JDK 11 workflow. Co-Authored-By: Claude Code <noreply@anthropic.com> Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5 AI-Contributed/Feature: 34/34 AI-Contributed/UT: 53/53
Keep the Java 11 Fluss test classes out of JUnit Vintage discovery after excluding their runtime dependencies from the Java 8 Surefire classpath. Co-Authored-By: Claude Code <noreply@anthropic.com> Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5 AI-Contributed/Feature: 13/13 AI-Contributed/UT: 0/0
Read base Fluss LakeStream tables through Paimon while routing writes to Fluss. Expose $rt as a read-only Fluss union view and leave $stream unsupported. Keep catalog routing in spark.catalog and table adapters in spark. Co-Authored-By: Claude Code <noreply@anthropic.com> Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5 AI-Contributed/Feature: 279/279 AI-Contributed/UT: 196/196
Document the loader interfaces required by Checkstyle. Co-Authored-By: Claude Code <noreply@anthropic.com> Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5 AI-Contributed/Feature: 2/2 AI-Contributed/UT: 0/0
Contributor
|
cc @luoyuxia |
Contributor
|
We should provide standard abstractions to allow Fluss to be integrated via plugins, rather than hardcoding it. |
Contributor
|
I'll push forward the PIP-39: Enable In-Place Upgrade of Existing Paimon Tables for Sub-Second Latency via Fluss to propose the abstraction/change for both flink and spark |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Support reading and writing Fluss LakeStream tables through the Paimon Spark catalog.
FileStoreTables marked withlakestream.enabled=trueto a lazily initialized Fluss Spark catalog.fluss.*catalog options to Fluss while keeping create, alter, and drop behavior unchanged.1.0-SNAPSHOTfor the test dependencies because the stable release does not publish the required MiniCluster test jars.Tests
FlussCatalogTestandFlussCatalogReadWriteITCase— 7/7 passedFlussCatalogTestandFlussCatalogReadWriteITCase— 7/7 passedmvn spotless:apply -Pspark3