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


##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/framework/TestBuilders.java:
##########
@@ -669,6 +669,16 @@ public ChildT distribution(IgniteDistribution 
distribution) {
             return self();
         }
 
+        /** {@inheritDoc} */
+        @Override
+        public ChildT addKeyColumn(String name, NativeType type) {
+            columns.add(new ColumnDescriptorImpl(
+                    name, true, true, columns.size(), columns.size(), type, 
DefaultValueStrategy.DEFAULT_NULL, null

Review Comment:
   `The primary key constraint specifies that a column or columns of a table 
can contain only unique (non-duplicate), nonnull values. Technically, PRIMARY 
KEY is merely a combination of UNIQUE and NOT NULL.`



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