ygerzhedovich commented on code in PR #4870:
URL: https://github.com/apache/ignite-3/pull/4870#discussion_r1880296677


##########
modules/client-common/src/main/java/org/apache/ignite/internal/client/table/MutableTupleBinaryTupleAdapter.java:
##########
@@ -256,6 +257,22 @@ public double doubleValue(int columnIndex) {
                 : 
binaryTuple.doubleValue(validateSchemaColumnType(columnIndex, 
ColumnType.DOUBLE));
     }
 
+    /** {@inheritDoc} */
+    @Override
+    public BigDecimal decimalValue(String columnName) {
+        return tuple != null
+                ? tuple.decimalValue(columnName)
+                : 
binaryTuple.decimalValue(validateSchemaColumnType(columnName, 
ColumnType.DECIMAL), -1);

Review Comment:
   based on javaDoc we should pass `Integer.MIN_VALUE` as scale for case when 
we going to retrieve scale as is



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to