[MDEV-30744] WITH AS clause doesn't work with an outside column Created: 2023-02-27 Updated: 2023-02-28 Resolved: 2023-02-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | compat80 |
| Affects Version/s: | 10.11.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Jakub Szymanowski | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | MySQL8 | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The following statement works in MySQL 8 but does not work in MariaDB 11 or 10.5:
Is this intentional? Steps to reproduce: 1. Create a docker-compose.yml file with the following contents:
2. Run `docker-compose up -d` to pull the images and run the containers Optionally: |
| Comments |
| Comment by Alice Sherepa [ 2023-02-28 ] | ||
|
Thank you for the report. The problem is not cte, but lateral derived tables in general are not supported in MariaDB yet:
task - MDEV-19078 |