Skip to content

Flink: Backport #12996 to Flink 1.19 / 1.20#13246

Merged
pvary merged 2 commits intoapache:mainfrom
mxm:dynamic-sink-contrib-breakdown-backport
Jun 5, 2025
Merged

Flink: Backport #12996 to Flink 1.19 / 1.20#13246
pvary merged 2 commits intoapache:mainfrom
mxm:dynamic-sink-contrib-breakdown-backport

Conversation

@mxm
Copy link
Copy Markdown
Contributor

@mxm mxm commented Jun 5, 2025

This backports #12996 to Flink versions 1.19 / 1.20. Patch applied cleanly, apart from
re-adding a 2.0 removed interface method in DynamicRecordInternalSerializer. I'm highlighting the change inline.

mxm added 2 commits June 5, 2025 13:01
This backports apache#12996 to Flink versions 1.19. Patch applied cleanly, apart from
re-adding a 2.0 removed interface method in DynamicRecordInternalSerializer.
This backports apache#12996 to Flink versions 1.20. Patch applied cleanly, apart from
re-adding a 2.0 removed interface method in DynamicRecordInternalSerializer.
Comment on lines +78 to +82
@Override
public TypeSerializer<DynamicRecordInternal> createSerializer(ExecutionConfig executionConfig) {
return new DynamicRecordInternalSerializer(
new TableSerializerCache(catalogLoader, cacheSize), writeSchemaAndSpec);
}
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.

This method was added. It has been removed in Flink 2.0.

Comment on lines +78 to +82
@Override
public TypeSerializer<DynamicRecordInternal> createSerializer(ExecutionConfig executionConfig) {
return new DynamicRecordInternalSerializer(
new TableSerializerCache(catalogLoader, cacheSize), writeSchemaAndSpec);
}
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.

This method was added. It has been removed in Flink 2.0.

@pvary pvary merged commit 1996ff9 into apache:main Jun 5, 2025
18 checks passed
@pvary
Copy link
Copy Markdown
Contributor

pvary commented Jun 5, 2025

Merged to main.
Thanks for the backport @mxm!

cogwirrel pushed a commit to cogwirrel/iceberg that referenced this pull request Aug 10, 2025
devendra-nr pushed a commit to devendra-nr/iceberg that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants