[
https://issues.apache.org/jira/browse/FLINK-39634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079416#comment-18079416
]
Ilya Soin commented on FLINK-39634:
-----------------------------------
[~psinha] ,
yes there was a typo, fixed.
Yes it's related to [https://github.com/apache/flink/pull/27340]
I will contribute the fix
> Savepoint Table API connector incorrectly infers map state key type
> -------------------------------------------------------------------
>
> Key: FLINK-39634
> URL: https://issues.apache.org/jira/browse/FLINK-39634
> Project: Flink
> Issue Type: Bug
> Components: API / State Processor
> Affects Versions: 2.2.0
> Reporter: Ilya Soin
> Assignee: Ilya Soin
> Priority: Minor
>
> In
> [SavepointDynamicTableSourceFactory|https://github.com/apache/flink/blob/release-2.2/flink-libraries/flink-state-processing-api/src/main/java/org/apache/flink/state/table/SavepointDynamicTableSourceFactory.java#L193]:
>
> {code:java}
> TypeInformation<?> mapKeyTypeInfo =
> getTypeInfo(
> options,
> keyFormatOption,
> ...
> ){code}
> we infer TypeInformation for state key instead of map key. Should be:
> {code:java}
> TypeInformation<?> mapKeyTypeInfo =
> getTypeInfo(
> options,
> mapKeyFormatOption,
> ...
> ) {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)