AMashenkov commented on a change in pull request #452:
URL: https://github.com/apache/ignite-3/pull/452#discussion_r758125966



##########
File path: 
modules/schema/src/test/java/org/apache/ignite/internal/schema/marshaller/KvMarshallerTest.java
##########
@@ -161,7 +161,14 @@ public void pojoWithFieldsOfAllTypes(MarshallerFactory 
factory) throws Marshalle
     @ParameterizedTest
     @MethodSource("marshallerFactoryProvider")
     public void narrowType(MarshallerFactory factory) throws 
MarshallerException {
-        Column[] cols = columnsAllTypes();
+        Column[] cols = new Column[]{
+                new Column("primitiveIntCol", INT32, false),
+                new Column("primitiveLongCol", INT64, false),
+                new Column("primitiveFloatCol", FLOAT, false),
+                new Column("primitiveDoubleCol", DOUBLE, false),
+                new Column("stringCol", STRING, false),
+                new Column("uuidCol", UUID, false),
+        };

Review comment:
       Initially, test check we could map narrow type where amount of fields > 
amount of columns.
   Now, amount of fields equal amount of columns. 




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