AMashenkov commented on a change in pull request #243:
URL: https://github.com/apache/ignite-3/pull/243#discussion_r675644415
##########
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:
Why do we need 'if' conditino here?
--
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]