AMashenkov commented on code in PR #7630:
URL: https://github.com/apache/ignite-3/pull/7630#discussion_r2832235439
##########
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:
Also, we have IgniteMath `byte convertToByteExact(long x)` method.
Maybe, we can reuse it.
However, one may be confised with overloaded method
`convertToByteExact(Number x)`, which has different semantic.
--
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]