raminqaf commented on code in PR #29103:
URL: https://github.com/apache/flink/pull/29103#discussion_r3940078714
##########
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:
> value.length should be the size of the whole variant data
Answers my question!
--
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]