ibessonov commented on code in PR #6316:
URL: https://github.com/apache/ignite-3/pull/6316#discussion_r2239892343


##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/index/sorted/comparator/JitComparatorGenerator.java:
##########
@@ -259,12 +261,18 @@ public static JitComparator createComparator(
             // "case 2" can be missing if "maxEntrySizeLog" is equal to "1".
             SwitchBuilder outerSwitchBuilder = switchBuilder()
                     .expression(outerEntrySize)
-                    .defaultCase(constantInt(0).ret());
+                    .defaultCase(new BytecodeBlock().append(newInstance(
+                            BinaryTupleFormatException.class,
+                            constantString("Invalid header, header size 8 is 
not supported.")

Review Comment:
   "header size" is wrong, it should be "offset size"



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to