zstan commented on a change in pull request #9751:
URL: https://github.com/apache/ignite/pull/9751#discussion_r791690511



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartRequest.java
##########
@@ -54,14 +57,24 @@
 
     /** */
     @SuppressWarnings("AssignmentOrReturnOfFieldWithMutableType")
-    public QueryStartRequest(UUID qryId, String schema, String root, 
AffinityTopologyVersion ver,
-        FragmentDescription fragmentDesc, Object[] params) {
+    public QueryStartRequest(
+        UUID qryId,
+        String schema,
+        String root,
+        AffinityTopologyVersion ver,
+        FragmentDescription fragmentDesc,
+        int totalFragmentsCnt,
+        Object[] params,
+        byte[] paramsBytes
+    ) {
         this.qryId = qryId;
         this.schema = schema;
         this.root = root;
         this.ver = ver;
         this.fragmentDesc = fragmentDesc;
+        this.totalFragmentsCnt = totalFragmentsCnt;
         this.params = params;
+        this.paramsBytes = paramsBytes;

Review comment:
       if i correctly understand this optimization helps get rid of multiple 
serialization of equal data ? if it so - code become complicated to understand 
..




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