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

Window functions without a table crash

    XMLWordPrintable

    Details

      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

            People

            Assignee:
            igor Igor Babaev
            Reporter:
            cvicentiu Vicențiu Ciorbaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration