dylanhz created FLINK-40597:
-------------------------------

             Summary: 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


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)

Reply via email to