-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.2
-
Component/s: Querying
-
Labels:None
-
ALL
-
SELECT
`t1`.`col1` AS `C1`,
`t1`.`col2` AS `C2`,
`t1`.`col3` AS `C3`
FROM
`dbName`.`Table1` `t2`,
`dbName`.`Table1` `t3`,
(
SELECT
`col2`,
1 AS `c2`
FROM
`dbName`.`Table1`
WHERE
`col2` IN (
'P1',
'c' )
) `t4`,
(
SELECT
`col1`,
`col2`,
`col3`
FROM
`dbName`.`Table2`
WHERE
`col1` = 'S1' AND
`col2` = 'P1'
) `t1`
WHERE
`t2`.`col2` = `t1`.`col2` AND
`t2`.`col2` = `t4`.`col2` AND
`t2`.`col2` = `t3`.`col2` AND
`t2`.`col2` IN (
'P1',
'a' ) AND
`t3`.`col2` IN (
'P1',
'b' )
ORDER BY
`C3` ASC
- is duplicated by
-
SERVER-39054 Error: expected PlanStage for table DBname.t4, got <nil> SQLState: HY000 ErrorCode: 1105, MongoDB 2.6 server
- Closed