You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "lowka (via GitHub)" <gi...@apache.org> on 2023/07/26 16:04:24 UTC
[GitHub] [ignite-3] lowka commented on a diff in pull request #2342: IGNITE-18453: Query executor thread synchronously waits for leaders on query mapping.
lowka commented on code in PR #2342:
URL: https://github.com/apache/ignite-3/pull/2342#discussion_r1275192117
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -820,6 +830,27 @@ private void enlist(SourceAwareIgniteRel rel) {
}.visit(fragment.root());
}
+ private CompletableFuture<MultiStepPlan> mapFragments(MultiStepPlan plan) {
+ List<IgniteRel> fragments = plan.fragments()
+ .stream()
+ .map(Fragment::root)
+ .collect(Collectors.toList());
Review Comment:
Sure. I thought of it but I forgot about `TransformingIterator`.
--
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-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org