You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "spuru9 (via GitHub)" <gi...@apache.org> on 2026/09/10 20:46:06 UTC

[PR] [FLINK-40631][table-planner] Regenerate calc-variant restore savepoint after Variant type change [flink]

spuru9 opened a new pull request, #29156:
URL: https://github.com/apache/flink/pull/29156

   ## What is the purpose of the change
   
   `CalcRestoreTest.testRestore` (the `calc-variant` program) fails on `master` because the checked-in restore savepoint no longer deserializes:
   
   ```
   java.io.InvalidClassException: org.apache.flink.types.variant.Variant; local class incompatible: stream classdesc serialVersionUID = -1858271569023660977, local class serialVersionUID = -3681789473927144047
   ```
   
   `org.apache.flink.types.variant.Variant` is a `Serializable` interface without an explicit `serialVersionUID`, so its auto-generated UID changes whenever its declared method set changes. A new accessor method was added to the interface after the `calc-variant` savepoint was last generated, which shifted the UID and invalidated the checked-in savepoint.
   
   This regenerates the `calc-variant` savepoint against the current `Variant`. The compiled plan is unchanged.
   
   ## Brief change log
   
   - Regenerate `flink-table/flink-table-planner/src/test/resources/restore-tests/stream-exec-calc_1/calc-variant/savepoint/_metadata`.
   
   ## Verifying this change
   
   - `CalcRestoreTest#testRestore` passes (10 tests, 0 failures / 0 errors) with the regenerated savepoint.
   - With the previous savepoint it fails on the `calc-variant` program with the `InvalidClassException` above; regenerating resolves it.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): **no**
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: **no**
     - The serializers: **no**
     - The runtime per-record code paths (performance sensitive): **no**
     - Anything that affects deployment or recovery: **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**
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-40631][table-planner] Regenerate calc-variant restore savepoint after Variant type change [flink]

Posted by "spuru9 (via GitHub)" <gi...@apache.org>.
spuru9 commented on PR #29156:
URL: https://github.com/apache/flink/pull/29156#issuecomment-5630846810

   Superseded by https://github.com/apache/flink/pull/29158


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-40631][table-planner] Regenerate calc-variant restore savepoint after Variant type change [flink]

Posted by "spuru9 (via GitHub)" <gi...@apache.org>.
spuru9 closed pull request #29156: [FLINK-40631][table-planner] Regenerate calc-variant restore savepoint after Variant type change
URL: https://github.com/apache/flink/pull/29156


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-40631][table-planner] Regenerate calc-variant restore savepoint after Variant type change [flink]

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #29156:
URL: https://github.com/apache/flink/pull/29156#issuecomment-5625264982

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7ee18e04ef3f6be31fd1c920c618663aa1cf1eea",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7ee18e04ef3f6be31fd1c920c618663aa1cf1eea",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7ee18e04ef3f6be31fd1c920c618663aa1cf1eea UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org