Berkof commented on a change in pull request #146:
URL: https://github.com/apache/ignite-3/pull/146#discussion_r638377232



##########
File path: 
modules/schema/src/main/java/org/apache/ignite/internal/schema/configuration/SchemaConfigurationConverter.java
##########
@@ -201,12 +199,12 @@ public static TableIndex convert(TableIndexView idxView) {
             case SORTED_TYPE:
                 boolean sortedUniq = idxView.uniq();
 
-                SortedMap<Integer, SortedIndexColumn> sortedCols = new 
TreeMap<>();
-                
+                SortedMap<String, SortedIndexColumn> sortedCols = new 
TreeMap<>();

Review comment:
       Here we used TreeMap to keep order with indexIdx or ColumnIdx keys. But 
for String keys (if configuration will keep order) it enough to use just List.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to