vladErmakov07 commented on a change in pull request #243:
URL: https://github.com/apache/ignite-3/pull/243#discussion_r676756055



##########
File path: 
modules/schema/src/main/java/org/apache/ignite/internal/schema/NativeTypes.java
##########
@@ -202,6 +219,12 @@ public static NativeType from(ColumnType type) {
                         ((ColumnType.VarLenColumnType)type).length() : 
Integer.MAX_VALUE
                 );
 
+            case NUMBER:
+                ColumnType.NumberColumnType numberType = 
(ColumnType.NumberColumnType)type;
+                if (numberType.precision() > 0)
+                    return new FixLenNumberNativeType(numberType.precision());
+                return new FixLenNumberNativeType(numberType.precision());

Review comment:
       I am sorry, request was not ready for review. Now it`s ready: I made 
many changes including fix for this 'if' condition.




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