Skip to content

[FLINK-41028] Support data lake table properties in the Fluss pipeline sink - #4584

Merged
loserwang1024 merged 1 commit into
apache:masterfrom
loserwang1024:fluss-lake-option
Oct 23, 2026
Merged

loserwang1024 merged 1 commit into
apache:masterfrom
loserwang1024:fluss-lake-option

Conversation

@loserwang1024

Copy link
Copy Markdown
Contributor

AI-Model: gpt-6-astra
AI-Contributed/Feature: 116/116
AI-Contributed/UT: 136/136

What is the purpose of this pull request?

Briefly describe the problem this PR fixes or the feature it introduces. Reference Flink JIRA ticket when possible.

Brief change log

List the key changes in this PR.


Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change added tests and can be verified as follows:

  • Added/Updated unit tests in ...*
  • Added/Updated integration tests in ...*
  • Manually tested by ...

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

…e sink

Co-Authored-By: Codex <noreply@openai.com>
AI-Model: gpt-6-astra
AI-Contributed/Feature: 116/116
AI-Contributed/UT: 136/136
@github-actions github-actions Bot added the docs Improvements or additions to documentation label Oct 19, 2026
@leonardBang
leonardBang self-requested a review October 20, 2026 02:46
admin.getTableInfo(new TablePath(DATABASE_NAME, "table1"))
.get()
.toTableDescriptor();
assertThat(tableDescriptor.getCustomProperties())

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.

Overall, this PR looks good to me. This test verifies that the options are stored in the Fluss TableDescriptor as custom properties, but it does not enable lake storage or check the resulting lake table. Would it be possible to add an end-to-end test that creates a lake-enabled Fluss table through the pipeline sink and asserts that an option such as properties.paimon.file.format: orc is applied to the actual Paimon table? That would cover the full path from sink configuration to the lake table.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the suggestion. I agree that an end-to-end test would be valuable, but it would require introducing Paimon dependencies and substantial additional test setup. Could we track this in a separate follow-up task for lake integration testing, keeping this PR focused on passing custom properties through the pipeline sink?

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.

makes sense to me, +1

@loserwang1024
loserwang1024 merged commit 9ea8bf0 into apache:master Oct 23, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved docs Improvements or additions to documentation reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants