sashapolo commented on code in PR #1076:
URL: https://github.com/apache/ignite-3/pull/1076#discussion_r975085374


##########
modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/ColumnFamilyUtils.java:
##########
@@ -58,9 +64,35 @@ static ColumnFamilyType fromCfName(String cfName) {
                 return PARTITION;
             } else if (HASH_INDEX_CF_NAME.equals(cfName)) {
                 return HASH_INDEX;
+            } else if (cfName.startsWith(SORTED_INDEX_CF_PREFIX)) {
+                return SORTED_INDEX;

Review Comment:
   The original idea was that you can only specify a single comparator per CF. 
But now I gave it a thought, and I think that we can get away with a single CF 
if we include the index ID in the index row and propagate a map from Index ID 
to its schema into the comparator. I will try to implement that.



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