[ 
https://issues.apache.org/jira/browse/CALCITE-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751472#comment-17751472
 ] 

hongyu guo commented on CALCITE-5898:
-------------------------------------

Do we need to add a UUID type as the return value of uuid() in Calcite, or just 
use VARCHAR_36 as the return type?

By the way, Spark also supports the uuid function with a return type of string

> Add UUID function (enabled in Presto library)
> ---------------------------------------------
>
>                 Key: CALCITE-5898
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5898
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Runkang He
>            Priority: Major
>
> Add UUID function (enabled in Presto library)
> UUID: Returns a pseudo randomly generated 
> [UUID|https://prestodb.io/docs/current/language/types.html#uuid-type] (type 
> 4).
> See more details in 
> [Presto|https://prestodb.io/docs/current/functions/uuid.html] doc.



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

Reply via email to