You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2026/09/10 08:34:00 UTC
[jira] [Updated] (FLINK-40556) Support UUID value literals in the Table API
[ https://issues.apache.org/jira/browse/FLINK-40556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin updated FLINK-40556:
------------------------------------
Fix Version/s: 2.4.0
> Support UUID value literals in the Table API
> --------------------------------------------
>
> Key: FLINK-40556
> URL: https://issues.apache.org/jira/browse/FLINK-40556
> Project: Flink
> Issue Type: Sub-task
> Reporter: Ramin Gharib
> Assignee: Ramin Gharib
> Priority: Major
> Fix For: 2.4.0
>
>
> A UUID currently has no literal form in the Table API / expression layer. lit(java.util.UUID) and materializing a UUID column via TableEnvironment.fromValues(...) fail, because RexBuilder.makeLiteral has no UUID case — only the SQL parser produces a UUID literal (UUID '...'). A UUID value therefore has to be produced via CAST(... AS UUID) from a string.
> Add UUID to the value-literal path (ValueLiteralExpression → RexBuilder.makeUuidLiteral) so lit(uuid) and UUID input columns work in the Table API. Surfaced while writing CastFunctionITCase for FLINK-40487.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)