ivanzlenko commented on code in PR #6438:
URL: https://github.com/apache/ignite-3/pull/6438#discussion_r2282195267
##########
modules/api/src/main/java/org/apache/ignite/table/TupleImpl.java:
##########
@@ -68,7 +68,20 @@ class TupleImpl implements Tuple, Serializable {
* @param capacity Initial capacity.
*/
TupleImpl(int capacity) {
- this(new HashMap<>(capacity), new ArrayList<>(capacity), new
ArrayList<>(capacity));
+ this(new HashMap<>(capacity(capacity)), new ArrayList<>(capacity), new
ArrayList<>(capacity));
+ }
+
+ // Copied from IgniteUtils, because it's not accessible from this module.
Review Comment:
https://issues.apache.org/jira/browse/IGNITE-26228 please add this as TODO
--
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