Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.5, 10.6, 10.9(EOL)
-
None
Description
repro: https://dbfiddle.uk/1BpvGW2V
here is the same repro working for MySQL: https://dbfiddle.uk/wa8Kc48N
and for PostgreSQL: https://dbfiddle.uk/6Z-IfLMx
The failing query patten is important to be supported. In complex queries, it allows to deduplicate subqueries used later more than one without having to put them in the main select.
I would be grateful if it can be fixed.
Attachments
Issue Links
- duplicates
-
MDEV-19078 Support lateral derived tables
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
repro: https://dbfiddle.uk/1BpvGW2V
here is the same repro working for MySQL: dbfiddle.uk/wa8Kc48N and for PostgreSQL: dbfiddle.uk/6Z-IfLMx The failing query patten is important to be supported. In complex queries, it allows to deduplicate subqueries used later more than one without having to put them in the main select. I would be grateful if it can be fixed. |
repro: https://dbfiddle.uk/1BpvGW2V
here is the same repro working for MySQL: https://dbfiddle.uk/wa8Kc48N and for PostgreSQL: https://dbfiddle.uk/6Z-IfLMx The failing query patten is important to be supported. In complex queries, it allows to deduplicate subqueries used later more than one without having to put them in the main select. I would be grateful if it can be fixed. |
Summary | Dependent query cannot recognize aggregate expr in more than 1 nesting level | Dependent query cannot recognize expr in more than 1 nesting level |
Affects Version/s | 10.9 [ 26905 ] |
Affects Version/s | 10.5 [ 23123 ] | |
Affects Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 11.0 [ 28320 ] | |
Fix Version/s | 11.1 [ 28549 ] | |
Fix Version/s | 11.2 [ 28603 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Oleksandr Byelkin [ sanja ] |
Fix Version/s | 11.0 [ 28320 ] |
Fix Version/s | 11.1 [ 28549 ] |
Fix Version/s | 11.2(EOL) [ 28603 ] |
issue.field.resolutiondate | 2024-11-26 09:43:28.0 | 2024-11-26 09:43:28.163 |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Not a Bug [ 6 ] | |
Status | Confirmed [ 10101 ] | Closed [ 6 ] |
Link | This issue duplicates MDEV-19078 [ MDEV-19078 ] |