shishkovilja commented on code in PR #10316:
URL: https://github.com/apache/ignite/pull/10316#discussion_r1001511380


##########
modules/core/src/main/java/org/apache/ignite/internal/jdbc2/JdbcUtils.java:
##########
@@ -253,10 +254,13 @@ public static List<List<Object>> indexRows(JdbcIndexMeta 
idxMeta) {
         for (int i = 0; i < idxMeta.fields().size(); ++i) {
             List<Object> row = new ArrayList<>(13);
 
+            // Now, only primary key index (and PK proxy) can be unique.
+            boolean nonUnique = 
!idxMeta.indexName().startsWith(PRIMARY_KEY_INDEX);

Review Comment:
   No, because there are proxy indexes: _key_PK_proxy.



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