korlov42 commented on code in PR #1318:
URL: https://github.com/apache/ignite-3/pull/1318#discussion_r1017533865
##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/configuration/TableValidatorImpl.java:
##########
@@ -40,9 +42,19 @@ public class TableValidatorImpl implements
Validator<TableValidator, NamedListVi
/** {@inheritDoc} */
@Override
public void validate(TableValidator annotation,
ValidationContext<NamedListView<TableView>> ctx) {
+ TablesView tablesConfig = ctx.getNewRoot(TablesConfiguration.KEY);
+
+ Set<String> idxNames = tablesConfig == null
+ ? Collections.emptySet()
+ :
tablesConfig.indexes().namedListKeys().stream().map(String::toUpperCase).collect(Collectors.toSet());
Review Comment:
Why do you convert names to upper case?
--
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]