[
https://issues.apache.org/jira/browse/FLINK-40597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113356#comment-18113356
]
dylanhz commented on FLINK-40597:
---------------------------------
Hi [~raminqaf], could you please take a look at this issue?
> TypeExtractor rejects explicitly specified Types.UUID
> -----------------------------------------------------
>
> Key: FLINK-40597
> URL: https://issues.apache.org/jira/browse/FLINK-40597
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Reporter: dylanhz
> Priority: Major
> Labels: pull-request-available
>
> After FLINK-40490, explicitly specifying {{Types.UUID}} for a DataStream can
> cause type inference for a non-lambda {{MapFunction<UUID, String>}} or
> {{KeySelector}} to fail with {{Input mismatch: Basic type expected.}}
> {{TypeExtractor.validateInfo()}} validates basic types through
> {{{}BasicTypeInfo.getInfoFor(){}}}. However, {{UUID.class}} is intentionally
> excluded from that registry to preserve serializer compatibility, so a
> matching UUID input is incorrectly rejected.
> Explicit UUID input validation should work while keeping automatic UUID
> extraction unchanged. Automatic extraction is tracked separately in
> FLINK-40546.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)