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


##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/configuration/IndexValidatorImpl.java:
##########
@@ -64,28 +62,77 @@ public void validate(IndexValidator annotation, 
ValidationContext<NamedListView<
 
             if (tableView == null) {
                 ctx.addIssue(new ValidationIssue(key, "Unable to create index 
[name=" + key + "]. Table not found."));
+
+                // no further validation required for current index
+                continue;
             }
 
-            IndexDefinition index = 
SchemaConfigurationConverter.convert(idxView);
+            List<String> colocationColumns;
+            if (tableView.primaryKey() != null) {

Review Comment:
   how it possible that PK is 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