AMashenkov commented on code in PR #7630:
URL: https://github.com/apache/ignite-3/pull/7630#discussion_r2832221149
##########
modules/api/src/main/java/org/apache/ignite/table/TupleImpl.java:
##########
@@ -459,4 +464,122 @@ private <T> T valueNotNull(String columnName) {
return value;
}
+
+ /** Casts a {@link Number} to {@code byte}. */
+ private static byte castToByte(Object number) {
Review Comment:
Looks like similar methods are implemented in TupleTypeCaseUtils.
Let's move them to CastUtils of core module and reuse.
--
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]