shishkovilja commented on code in PR #13095:
URL: https://github.com/apache/ignite/pull/13095#discussion_r3636324887


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchMessage.java:
##########
@@ -99,6 +104,29 @@ public boolean last() {
      * @return Rows.
      */
     public List<Object> rows() {
-        return 
mRows.stream().map(GenericValueMessage::value).collect(Collectors.toList());
+        return rows;

Review Comment:
   Rows just can be lazily initialized here.  Also we can use `F.transform` 
here.



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