You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhanghao Chen (Jira)" <ji...@apache.org> on 2025/01/06 09:41:00 UTC
[jira] [Commented] (FLINK-36903) Flink 2.0: Add switch for built-in serialization support for common collection types
[ https://issues.apache.org/jira/browse/FLINK-36903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910074#comment-17910074 ]
Zhanghao Chen commented on FLINK-36903:
---------------------------------------
Adding a switch turned out to be difficult: the type extractor class is a static utils class, which means we can only set a static vaiable to parameterize its behavior, but this may also break when the same JVM is reused to submit multiple jobs. Therefore, it's better to just break state-comaptiblity as it is, and rely on the state migration tool to do the work. Closing this issue.
> Flink 2.0: Add switch for built-in serialization support for common collection types
> ------------------------------------------------------------------------------------
>
> Key: FLINK-36903
> URL: https://issues.apache.org/jira/browse/FLINK-36903
> Project: Flink
> Issue Type: Sub-task
> Components: API / Type Serialization System
> Affects Versions: 2.0.0
> Reporter: Zhanghao Chen
> Priority: Major
>
> Built-in serialization support for common collection types will break state-comaptiblity, adding a switch for it can help migrating from an older version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)