[ 
https://issues.apache.org/jira/browse/IGNITE-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767099#comment-16767099
 ] 

Vladimir Ozerov commented on IGNITE-11310:
------------------------------------------

A number of new failures appeared. Some of them are due to incorrect tests 
(e.g. missing collocation). But some of them show actual cause of 
"distributedJoins" flag magic. When "local" flag is set we need to query local 
partitions. If parallelism is enabled, then we have to query each stripe 
separately, and then merge the result using standard two-phase flow. For some 
reason "distributedJoins" flag was used to force query split and execution in 
two-step mode. This is wrong. What we need to do instead, is to add special 
flag "split needed" to parsing result. Then this flag should be used to decide 
how query is executed - with or without split. 

Previous PRs are removed since their implementation was incorrect.

> SQL: remove special interaction between query parallelism and distributed 
> joins
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-11310
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11310
>             Project: Ignite
>          Issue Type: Task
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently we enable so-called "local distributed joins" when query is 
> executed locally with enabled parallelism. This behavior is not needed and 
> needs to be removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to