Skip to content

[FLINK-38242] Improve upgrading documentation for SQL/Table API state compatibility and add Flink 2.x to compatibility table #26903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weiqingy
Copy link

What is the purpose of the change

This pull request improves the upgrading documentation by adding clear warnings about SQL/Table API state compatibility issues and including missing Flink 2.x versions in the compatibility table.

Brief change log

  • Added warning that SQL/Table API jobs may have incompatible savepoints even during minor version upgrades due to query optimizer changes
  • Added Flink 2.0.x and 2.1.x to compatibility table with note that state compatibility is not guaranteed between 1.x and 2.x

Verifying this change

After the update, the documentation will be as follows:
ddddd

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

  • Dependencies: no
  • The public API: no
  • The serializers: no
  • The runtime per-record code paths: no
  • Deployment or recovery components: no
  • The S3 file system connector: no

Documentation

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

… compatibility and add Flink 2.x to compatibility table
@flinkbot
Copy link
Collaborator

flinkbot commented Aug 14, 2025

CI report:

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

@davidradl
Copy link
Contributor

@weiqingy this is a nice addition. I wondered can we say what state is not compatible between v1 and v2. I suspect it should work apart from serializing state that involves:

  • some / all custom serializers
  • Scala Case Class datatype
  • POJOs using Kryo
  • General Class Types using Kryo

Anything else we should add to the list? If this is the case it would really useful to document these restrictions to help Flink users know if there are likely to hit migration issues or not.

@weiqingy weiqingy changed the title [FLINK-38242] Improve upgrading documentation for SQL/Table API state compatibility and add Flink 2.x to compatibility table [FLINK-38242][docs] Improve upgrading documentation for SQL/Table API state compatibility and add Flink 2.x to compatibility table Aug 14, 2025
@weiqingy weiqingy changed the title [FLINK-38242][docs] Improve upgrading documentation for SQL/Table API state compatibility and add Flink 2.x to compatibility table [FLINK-38242] Improve upgrading documentation for SQL/Table API state compatibility and add Flink 2.x to compatibility table Aug 14, 2025
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