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


##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/prepare/pruning/PartitionPruningPredicateSelfTest.java:
##########
@@ -118,12 +120,20 @@ public void testLiteralValue(ColumnType columnType) {
         expectPartitionsPruned(table, columns, new Object[0], group, val);
     }
 
+    private static NativeType getNativeType(ColumnType columnType) {
+        SqlTypeName sqlTypeName = 
SqlTestUtils.columnType2SqlTypeName(columnType);
+        int precision = IgniteTypeSystem.INSTANCE.getMaxPrecision(sqlTypeName);
+        int scale = IgniteTypeSystem.INSTANCE.getMaxScale(sqlTypeName);
+
+        return TypeUtils.columnType2NativeType(columnType, precision, scale, 
4);

Review Comment:
   agree. Fixed



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