Ramin Gharib created FLINK-40487:
------------------------------------

             Summary: CAST between UUID and STRING / BINARY(16)
                 Key: FLINK-40487
                 URL: https://issues.apache.org/jira/browse/FLINK-40487
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Ramin Gharib
            Assignee: Ramin Gharib


Explicit casts for UUID. No implicit coercions.

Scope:
- UUID -> STRING: canonical lowercase 8-4-4-4-12
- STRING -> UUID: lenient (canonical, uppercase, braces, variable hyphens;
  PostgreSQL-compatible)
- UUID <-> BINARY(16): 16 big-endian bytes

Depends on A1. UUID <-> VARIANT is tracked separately in B5.
Verifying: cast matrix tests incl. malformed-string failures and TRY_CAST nulls.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to