[
https://issues.apache.org/jira/browse/FLINK-40486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-40486:
-----------------------------------
Labels: pull-request-available (was: )
> Introduce the UUID logical type
> -------------------------------
>
> Key: FLINK-40486
> URL: https://issues.apache.org/jira/browse/FLINK-40486
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Ramin Gharib
> Assignee: Ramin Gharib
> Priority: Major
> Labels: pull-request-available
>
> Scope:
> - UuidType in flink-table-common, backed by a fixed 16-byte value
> - LogicalTypeRoot.UUID
> - DataTypes.UUID() factory
> - FlinkTypeFactory mapping UuidType <-> Calcite SqlTypeName.UUID
> - LogicalTypeParser: recognize the UUID keyword -> UuidType
> The SQL grammar already parses UUID as both a type keyword and a
> UUID '...' literal via Calcite (Parser.jj:4899, 5980), so no sql-parser
> change is needed. Calcite already provides SqlTypeName.UUID (CALCITE-6738),
> so no Calcite bump. The UUID() function is unrelated and stays CHAR(36).
> Verifying: unit tests for the type, DataTypes factory, the type-factory
> round-trip, and LogicalTypeParser parsing "UUID".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)