Skip to content

Conversation

@dawidwys
Copy link
Contributor

@dawidwys dawidwys commented Dec 2, 2025

What is the purpose of the change

Fixes a bug where an incorrect type is used in sink for

  • shuffling
  • sink upsert materializer
  • constraint validation

Verifying this change

Added a test in SinkTestPrograms

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

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

@dawidwys dawidwys requested a review from twalthr December 2, 2025 14:32
@flinkbot
Copy link
Collaborator

flinkbot commented Dec 2, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

* physical columns first, followed by persisted metadata columns.
*/
@Override
protected final RowType getPersistedRowType(ResolvedSchema schema) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there no runtime change necessary?

Copy link
Contributor

@twalthr twalthr left a comment

Choose a reason for hiding this comment

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

Thanks @dawidwys. +1 for this. Please update the release notes and let people know about the past inconsistency and that there is a potential restoring issue but the state was corrupted anyways.

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.

3 participants