Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.3, 2.4
-
None
-
None
Description
queryParallelism>1 + setLocal(true) changes the query plan and exclude usage of the sql index.
Explain query with setLocal(false) and queryParallelism=1 :
SELECT
T__Z0.ID AS __C0_0
FROM TABLE(COL VARCHAR='name0') I__Z1
/* function */
INNER JOIN PUBLIC.PERSON T__Z0
/* PUBLIC.PERSON_NAME: NAME = I__Z1.COL */
ON 1=1
WHERE (T__Z0.SOURNAME = 'sourname0')
AND (T_Z0.NAME = I_Z1.COL)
Explain query with setLocal(true) and queryParallelism=2 :
SELECT
T__Z1.ID AS __C0_0
FROM PUBLIC.PERSON T__Z1
/* PUBLIC.PERSON._SCAN */
/* WHERE T__Z1.SOURNAME = 'sourname0'
*/
INNER JOIN TABLE(COL VARCHAR='name0') I__Z0
/* function: COL = T__Z1.NAME */
ON 1=1
WHERE (T__Z1.SOURNAME = 'sourname0')
AND (T_Z1.NAME = I_Z0.COL)
Attachments
Attachments
Issue Links
- duplicates
-
IGNITE-11310 SQL: Remove special interaction between query parallelism and distributed joins
- Resolved