davidradl commented on code in PR #29154:
URL: https://github.com/apache/flink/pull/29154#discussion_r3987653391


##########
docs/data/sql_functions.yml:
##########
@@ -227,7 +227,13 @@ arithmetic:
     description: Returns a pseudorandom integer value in the range [0, INT2) 
with an initial seed INT1. Two RAND_INTEGER functions will return identical 
sequences of numbers if they have the same initial seed and bound.
   - sql: UUID()
     table: uuid()
-    description: Returns an UUID (Universally Unique Identifier) string (e.g., 
"3d3c68f7-f608-473f-b60c-b0c44ad4cc4e") according to RFC 4122 type 4 (pseudo 
randomly generated) UUID. The UUID is generated using a cryptographically 
strong pseudo random number generator.
+    description: Returns an UUID (Universally Unique Identifier) string (e.g., 
"3d3c68f7-f608-473f-b60c-b0c44ad4cc4e") according to RFC 9562 version 4 (pseudo 
randomly generated) UUID. The UUID is generated using a cryptographically 
strong pseudo random number generator.
+  - sql: UUID_V4()
+    table: uuidV4()
+    description: Returns a random RFC 9562 version 4 UUID value. The UUID is 
generated using a cryptographically strong pseudo random number generator.
+  - sql: UUID_V7()

Review Comment:
   I wonder if it would not be better to have a new overloaded version of the 
function  uuid(type) function where the parameter is the UUID type number ; we 
could support 1 to 7 or 1 to 8.- dependaing on how we feel about custom.  This 
would then pick out which uuid to generate. Or do you see no need to expose the 
others?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to