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


##########
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:
   Does that work even though there's no UUID type specified in 
[pyflink/table/types.py](https://github.com/apache/flink/blob/master/flink-python/pyflink/table/types.py)?



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