raminqaf commented on code in PR #29103:
URL: https://github.com/apache/flink/pull/29103#discussion_r3934377163


##########
flink-core/src/main/java/org/apache/flink/types/variant/BinaryVariantUtil.java:
##########
@@ -674,6 +703,20 @@ public static String getString(byte[] value, int pos) {
         throw unexpectedType(Type.STRING);
     }
 
+    public static UUID getUUID(byte[] value, int pos) {
+        checkIndex(pos, value.length);

Review Comment:
   Should we do a early check of `value.length == 16` or is it always 
guarantied?



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