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


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/Expressions.java:
##########
@@ -835,6 +835,19 @@ public static ApiExpression uuid() {
         return apiCall(BuiltInFunctionDefinitions.UUID);
     }
 
+    /** Returns a random RFC 9562 version 4 (pseudo randomly generated) {@code 
UUID} value. */
+    public static ApiExpression uuidV4() {
+        return apiCall(BuiltInFunctionDefinitions.UUID_V4);
+    }
+
+    /**
+     * Returns a time-ordered RFC 9562 version 7 {@code UUID} value, generated 
from the current
+     * timestamp and a random component.
+     */
+    public static ApiExpression uuidV7() {
+        return apiCall(BuiltInFunctionDefinitions.UUID_V7);
+    }
+

Review Comment:
   there are tests in flink-python failing ci without this btw ;)



-- 
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