[MDEV-19077] Support derived tables / CTE with external references Created: 2019-03-28 Updated: 2023-08-01 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Unresolved | Votes: | 5 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently the following query cannot be executed in MariaDB:
cannot be executed in MariaDB because the specification of the derived table t contains an external reference t1.b. SQL standard considers this query as valid. MySQL 8.0 supports such queries. Similarly the query:
cannot be executed in MariaDB while it is considered valid by SQL Standard and can be executed by MySQL 8.0. |
| Comments |
| Comment by Abdelrahman [ 2022-10-20 ] |
|
is there any update for this, or any work around, Thanks |