diff --git a/docs/content/docs/ops/upgrading.md b/docs/content/docs/ops/upgrading.md
index 81251211c027b..9e5b0f90f42e1 100644
--- a/docs/content/docs/ops/upgrading.md
+++ b/docs/content/docs/ops/upgrading.md
@@ -276,6 +276,7 @@ $ bin/flink run -s :savepointPath [:runArgs]
For more details, please take a look at the [savepoint documentation]({{< ref "docs/ops/state/savepoints" >}}).
## Compatibility Table
+> **Note:** For SQL/Table API jobs, even minor version upgrades (e.g., 1.16 → 1.20) can cause incompatible savepoints due to changes in query optimizers and operator topologies. See the [Table API & SQL](#table-api--sql) section above for important compatibility considerations.
Savepoints are compatible across Flink versions as indicated by the table below:
@@ -287,7 +288,9 @@ Savepoints are compatible across Flink versions as indicated by the table below:
1.18.x |
1.19.x |
1.20.x |
- Limitations |
+ 2.0.x |
+ 2.1.x |
+ Limitations |
@@ -297,6 +300,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -305,6 +310,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -313,6 +320,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -321,6 +330,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -329,6 +340,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -337,6 +350,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
Don't upgrade from 1.12.x to 1.13.x with an unaligned checkpoint. Please use a savepoint for migrating. |
@@ -345,6 +360,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -353,6 +370,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
For Table API: 1.15.0 and 1.15.1 generated non-deterministic UIDs for operators that
make it difficult/impossible to restore state or upgrade to next patch version. A new
@@ -369,6 +388,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
| O |
O |
O |
+ |
+ |
|
@@ -377,6 +398,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -385,6 +408,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
O |
O |
O |
+ |
+ |
|
@@ -393,6 +418,8 @@ Savepoints are compatible across Flink versions as indicated by the table below:
|
O |
O |
+ |
+ |
|
@@ -401,6 +428,28 @@ Savepoints are compatible across Flink versions as indicated by the table below:
|
|
O |
+ |
+ |
+ |
+
+
+ 2.0.x |
+ |
+ |
+ |
+ |
+ O |
+ O |
+ State compatibility is not guaranteed between 1.x and 2.x. |
+
+
+ 2.1.x |
+ |
+ |
+ |
+ |
+ |
+ O |
|