Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
Description
SELECT <win_func>() over (); |
This crashes. Since there is no table, we can't attach the window function computation step to it.
There is a separate code path however for sum functions when we have such a select. We should handle window functions similarly in that case.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Summary | Window functions without a table crash | Window functions without a table, crash |
Summary | Window functions without a table, crash | Window functions without a table crash |
Description |
{code:sql}
SELECT <win_func>() over (...); {code} This crashes. Since there is no table, we can't attach the window function computation step to it. There is a separate code path however for sum functions when we have such a select. We should handle window functions similarly in that case. |
{code:sql}
SELECT <win_func>() over (); {code} This crashes. Since there is no table, we can't attach the window function computation step to it. There is a separate code path however for sum functions when we have such a select. We should handle window functions similarly in that case. |
Affects Version/s | 10.2 [ 14601 ] |
Labels | 10.2-rc |
Assignee | Vicentiu Ciorbaru [ cvicentiu ] | Igor Babaev [ igor ] |
Fix Version/s | 10.2.4 [ 22116 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 77227 ] | MariaDB v4 [ 150968 ] |