[FLINK-40557][table] Make operation column optional in TO_CHANGELOG… - #29102
Open
ferenc-csaky wants to merge 1 commit into
Open
[FLINK-40557][table] Make operation column optional in TO_CHANGELOG…#29102ferenc-csaky wants to merge 1 commit into
TO_CHANGELOG…#29102ferenc-csaky wants to merge 1 commit into
Conversation
Collaborator
ferenc-csaky
force-pushed
the
FLINK-40557
branch
from
September 4, 2026 15:09
4223a2b to
5187dfb
Compare
… output Generated-by: OpenCode (openai/gpt-5.6-terra)
ferenc-csaky
force-pushed
the
FLINK-40557
branch
from
September 4, 2026 18:06
5187dfb to
02b77a5
Compare
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.
What is the purpose of the change
Makes the operation column in
TO_CHANGELOGoptional. This supports append-only output that retains the input schema without prepending an operation code.The change remains compatible with compiled plans created before the new argument was introduced.
Brief change log
include_op_columnargument toTO_CHANGELOG, defaulting totrue.false.trueand supporting the previousevalsignature.Verifying this change
This change added tests and was verified with:
mvn -pl flink-table/flink-table-common -Dtest=ToChangelogOutputTypeStrategyTest testmvn -pl flink-table/flink-table-planner -Dtest=ToChangelogSemanticTests testmvn -pl flink-table/flink-table-planner -Dtest=ToChangelogRestoreTest testmvn spotless:check -pl flink-table/flink-table-common,flink-table/flink-table-runtime,flink-table/flink-table-api-java,flink-table/flink-table-plannerDoes this pull request potentially affect one of the following parts:
@Public(Evolving): yes, adds a user-facingTO_CHANGELOGargumentDocumentation
Was generative AI tooling used to co-author this PR?
Generated-by: OpenCode (openai/gpt-5.6-terra)