Bug #115016 | Predefined window can't be reused with partition by in an over clause | ||
---|---|---|---|
Submitted: | 15 May 13:53 | Modified: | 1 Jul 11:18 |
Reporter: | Sébastien F. | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0.36 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[15 May 13:53]
Sébastien F.
[15 May 14:25]
MySQL Verification Team
HI Monsieur Sebastien, Thank you very much for your bug report. This is a forum for the bug reports with repeatable test cases. Each such test case should consist of the set of SQL statements leading to the bug that is reporting. Hence, provide us with a full test case and we shall be happy to proceed with processing of your report.
[30 Jun 13:31]
Sébastien F.
Hi M. MySQL Verification Team, The bug is repeatable with the SELECT statement given in the initial message. Thx,
[1 Jul 11:18]
MySQL Verification Team
Hi Mr. F. You are quite correct. The test case is fully repeatable. However, this is already documented as not permissible in window functions: This construct is not permitted because the OVER clause specifies PARTITION BY for a named window that already has PARTITION BY: OVER (w PARTITION BY year) ... WINDOW w AS (PARTITION BY country) Not a bug.