[MDEV-30668] Set function aggregated in outer select used in view definition Created: 2023-02-17 Updated: 2023-03-20 Resolved: 2023-03-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Views |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.11.3, 11.0.2, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Igor Babaev [ 2023-02-17 ] | ||||||||||||||||||||
|
This bug is not caused by the fix of | ||||||||||||||||||||
| Comment by Igor Babaev [ 2023-02-26 ] | ||||||||||||||||||||
|
With the view protocol this query is executed:
where v is specified as follows:
The query returns:
Note that if we use CTE with the same specification query as for the view we get the expected result
| ||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2023-03-02 ] | ||||||||||||||||||||
|
OK to push |