Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9923

ORDER BY position in window function causes strange error code

    XMLWordPrintable

    Details

      Description

      create table t1 (i int);
      select rank() over (order by 1) from t1;
      ERROR 4007 (HY000): Window function is not allowed in window specification
      

      The error is very confusing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor Igor Babaev
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.