korlov42 commented on code in PR #2728:
URL: https://github.com/apache/ignite-3/pull/2728#discussion_r1370077702


##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/BinaryTuplePrefix.java:
##########
@@ -51,13 +52,36 @@ public BinaryTuplePrefix(int elementCount, ByteBuffer 
buffer) {
         super(elementCount, buffer);
     }
 
+    /**
+     * Creates a prefix from provided {@link BinaryTuple}. If given tuple has 
lesser or equal number of
+     * columns, then all elements will be used in resulting prefix. If given 
tuple has more columns, then
+     * excess columns will be truncated.
+     *
+     * @param size The size of the complete tuple.

Review Comment:
   renamed `size` to `numElements`.  But renaming of entire method doesn't seem 
correct since it not only truncates given tuple, but may expand it as well



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