zstan commented on a change in pull request #9751:
URL: https://github.com/apache/ignite/pull/9751#discussion_r794260063
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/ExecutionServiceImpl.java
##########
@@ -555,9 +565,16 @@ private QueryPlan prepareFragment(BaseQueryContext ctx,
String jsonFragment) {
fragment.serialized(),
ectx.topologyVersion(),
fragmentDesc,
- qry.parameters());
+ fragmentsPerNode.get(nodeId).intValue(),
+ qry.parameters(),
+ parametersMarshalled
+ );
messageService().send(nodeId, req);
+
+ // Avoid marshaling of the same parameters for other
nodes.
+ if (parametersMarshalled == null)
Review comment:
i don\`t like this intricate code, but if you still want to realize it
seems you can speedup a bit, check - after `messageService().send(nodeId,
req);` you already have marshalled params in QueryStartRequest.paramsBytes,
simply invoke it and reuse.
--
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]