[
https://issues.apache.org/jira/browse/FLINK-39634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079443#comment-18079443
]
Ilya Soin commented on FLINK-39634:
-----------------------------------
Actually it was introduced in
[https://github.com/apache/flink/commit/79254c1a3402392d6c883e51d83f7d4f7e43a97f
|https://github.com/apache/flink/commit/79254c1a3402392d6c883e51d83f7d4f7e43a97f]and
fixed in
[https://github.com/apache/flink/pull/27340.|https://github.com/apache/flink/pull/27340]
So the fix is already in master, closing the ticket.
> 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)